Make initial frame precise for avi
This commit is contained in:
@@ -162,14 +162,14 @@ let ProfileHeaderShell = ({
|
|||||||
accessibilityRole="image"
|
accessibilityRole="image"
|
||||||
accessibilityLabel={_(msg`View ${profile.handle}'s avatar`)}
|
accessibilityLabel={_(msg`View ${profile.handle}'s avatar`)}
|
||||||
accessibilityHint="">
|
accessibilityHint="">
|
||||||
<Animated.View
|
<View
|
||||||
ref={aviRef}
|
|
||||||
style={[
|
style={[
|
||||||
t.atoms.bg,
|
t.atoms.bg,
|
||||||
{borderColor: t.atoms.bg.backgroundColor},
|
{borderColor: t.atoms.bg.backgroundColor},
|
||||||
styles.avi,
|
styles.avi,
|
||||||
profile.associated?.labeler && styles.aviLabeler,
|
profile.associated?.labeler && styles.aviLabeler,
|
||||||
]}>
|
]}>
|
||||||
|
<Animated.View ref={aviRef}>
|
||||||
<UserAvatar
|
<UserAvatar
|
||||||
type={profile.associated?.labeler ? 'labeler' : 'user'}
|
type={profile.associated?.labeler ? 'labeler' : 'user'}
|
||||||
size={90}
|
size={90}
|
||||||
@@ -177,6 +177,7 @@ let ProfileHeaderShell = ({
|
|||||||
moderation={moderation.ui('avatar')}
|
moderation={moderation.ui('avatar')}
|
||||||
/>
|
/>
|
||||||
</Animated.View>
|
</Animated.View>
|
||||||
|
</View>
|
||||||
</TouchableWithoutFeedback>
|
</TouchableWithoutFeedback>
|
||||||
</GrowableAvatar>
|
</GrowableAvatar>
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
Reference in New Issue
Block a user