justify center

This commit is contained in:
Samuel Newman
2024-09-26 02:11:30 +01:00
parent ed1ad25cea
commit b3ff651663
+13 -3
View File
@@ -173,10 +173,15 @@ export function HomeHeaderLayoutMobile({
entering={ZoomIn.delay(200)} entering={ZoomIn.delay(200)}
exiting={ZoomOut} exiting={ZoomOut}
pointerEvents="none" pointerEvents="none"
style={[a.absolute, a.inset_0, a.align_center]}> style={[
a.absolute,
a.inset_0,
a.align_center,
a.justify_center,
]}>
<ActivityIndicator <ActivityIndicator
size="small" size="small"
color={t.atoms.text_contrast_low.color} color={t.atoms.text_contrast_medium.color}
/> />
</Animated.View> </Animated.View>
) : ( ) : (
@@ -184,7 +189,12 @@ export function HomeHeaderLayoutMobile({
key={2} key={2}
entering={ZoomIn.delay(300)} entering={ZoomIn.delay(300)}
exiting={ZoomOut} exiting={ZoomOut}
style={[a.absolute, a.inset_0, a.align_center]}> style={[
a.absolute,
a.inset_0,
a.align_center,
a.justify_center,
]}>
<Animated.View style={[animatedJiggleStyle]}> <Animated.View style={[animatedJiggleStyle]}>
<Trigger> <Trigger>
{ctx => ( {ctx => (