rm shitty animation

This commit is contained in:
Samuel Newman
2025-12-10 16:28:47 +02:00
parent 0a5ba835c0
commit 4ae1a13cce
@@ -1,6 +1,5 @@
import {useMemo} from 'react' import {useMemo} from 'react'
import {View} from 'react-native' import {View} from 'react-native'
import Animated, {FadeOut} from 'react-native-reanimated'
import {Image} from 'expo-image' import {Image} from 'expo-image'
import {LinearGradient} from 'expo-linear-gradient' import {LinearGradient} from 'expo-linear-gradient'
import {msg, Trans} from '@lingui/macro' import {msg, Trans} from '@lingui/macro'
@@ -23,9 +22,7 @@ export function FindContactsBannerNUX() {
if (!visible) return null if (!visible) return null
return ( return (
<Animated.View <View style={[a.w_full, a.p_lg, a.border_b, t.atoms.border_contrast_low]}>
style={[a.w_full, a.p_lg, a.border_b, t.atoms.border_contrast_low]}
exiting={FadeOut.duration(150)}>
<View style={a.w_full}> <View style={a.w_full}>
<Link <Link
to={{screen: 'FindContactsFlow'}} to={{screen: 'FindContactsFlow'}}
@@ -78,7 +75,7 @@ export function FindContactsBannerNUX() {
<XIcon size="xs" style={[t.atoms.text_contrast_low]} /> <XIcon size="xs" style={[t.atoms.text_contrast_low]} />
</Button> </Button>
</View> </View>
</Animated.View> </View>
) )
} }
function useInternalState() { function useInternalState() {