diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/screens/Messages/List/ChatListItem.tsx | 45 |
1 files changed, 19 insertions, 26 deletions
diff --git a/src/screens/Messages/List/ChatListItem.tsx b/src/screens/Messages/List/ChatListItem.tsx index ce0c7eee8..47a5772ad 100644 --- a/src/screens/Messages/List/ChatListItem.tsx +++ b/src/screens/Messages/List/ChatListItem.tsx @@ -192,7 +192,7 @@ function ChatListItemReady({ moderation={moderation.ui('avatar')} /> - <View style={[a.flex_1, a.justify_center]}> + <View style={[a.flex_1, a.justify_center, web({paddingRight: 45})]}> <View style={[a.w_full, a.flex_row, a.align_end, a.pb_2xs]}> <Text numberOfLines={1} @@ -260,32 +260,25 @@ function ChatListItemReady({ ]}> {lastMessage} </Text> - - {convo.unreadCount > 0 && ( - <View - style={[ - a.absolute, - a.rounded_full, - { - backgroundColor: isDimStyle - ? t.palette.contrast_200 - : t.palette.primary_500, - height: 7, - width: 7, - }, - isNative - ? { - top: 15, - right: 12, - } - : { - top: 0, - right: 0, - }, - ]} - /> - )} </View> + + {convo.unreadCount > 0 && ( + <View + style={[ + a.absolute, + a.rounded_full, + { + backgroundColor: isDimStyle + ? t.palette.contrast_200 + : t.palette.primary_500, + height: 7, + width: 7, + top: 15, + right: 12, + }, + ]} + /> + )} </View> )} </Link> |