Skip to content

Commit

Permalink
[C-3802] Match Avatar styles more closely to prod (#7546)
Browse files Browse the repository at this point in the history
  • Loading branch information
sliptype authored Feb 9, 2024
1 parent 1d795c8 commit edb21ea
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export const AccountDetails = () => {
userId={accountUser.user_id}
style={styles.accountImage}
mb='l'
strokeWidth='thin'
/>
<View style={styles.accountName}>
<Text numberOfLines={1} style={styles.name} variant='h1' noGutter>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export const AccountPictureHeader = (props: AccountPictureHeaderProps) => {
userId={accountId}
style={styles.root}
imagePriority='high'
strokeWidth='thin'
/>
{showNotificationBubble ? (
<View style={styles.notificationBubbleRoot}>
Expand Down
1 change: 1 addition & 0 deletions packages/mobile/src/screens/chat-screen/ChatScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,7 @@ export const ChatScreen = () => {
userId={otherUser.user_id}
size='small'
mr='s'
strokeWidth='thin'
/>
<UserBadges
user={otherUser}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export const NotificationProfilePicture = (
userId={profile.user_id}
size='medium'
style={[css({ marginRight: spacing.s }), style]}
strokeWidth='thin'
{...other}
/>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,9 @@ export const ArtistRecommendations = (props: ArtistRecommendationsProps) => {
style={css({
height: spacing.unit13,
width: spacing.unit13,
mr: -spacing.s
marginRight: -spacing.s
})}
strokeWidth='thin'
/>
</TouchableOpacity>
))}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ export const SupportingTile = (props: SupportingTileProps) => {
height: harmonySpacing.unit8
})}
mr='s'
strokeWidth='thin'
userId={user.user_id}
/>
<Text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const UserSearchResult = (props: UserSearchResultProps) => {

return (
<SearchResultItem onPress={handlePress}>
<ProfilePicture userId={user.user_id} size='medium' />
<ProfilePicture userId={user.user_id} size='medium' strokeWidth='thin' />
<UserBadges
style={styles.badgeContainer}
nameStyle={styles.name}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export const AccountSettingsRow = () => {
<ProfilePicture
userId={accountUser.user_id}
style={css({ width: spacing.unit13, height: spacing.unit13 })}
strokeWidth='thin'
/>
<View style={styles.info}>
<Text style={styles.name}>{name}</Text>
Expand Down

0 comments on commit edb21ea

Please sign in to comment.