Make initial frame precise for avi

This commit is contained in:
Dan Abramov
2024-11-03 03:48:52 +00:00
parent f0621eed3b
commit 16f00af6fc
+3 -2
View File
@@ -162,14 +162,14 @@ let ProfileHeaderShell = ({
accessibilityRole="image"
accessibilityLabel={_(msg`View ${profile.handle}'s avatar`)}
accessibilityHint="">
<Animated.View
ref={aviRef}
<View
style={[
t.atoms.bg,
{borderColor: t.atoms.bg.backgroundColor},
styles.avi,
profile.associated?.labeler && styles.aviLabeler,
]}>
<Animated.View ref={aviRef}>
<UserAvatar
type={profile.associated?.labeler ? 'labeler' : 'user'}
size={90}
@@ -177,6 +177,7 @@ let ProfileHeaderShell = ({
moderation={moderation.ui('avatar')}
/>
</Animated.View>
</View>
</TouchableWithoutFeedback>
</GrowableAvatar>
</View>