@@ -16,7 +16,7 @@ import type { GestureResponderEvent } from 'react-native'
16
16
import { TouchableOpacity } from 'react-native'
17
17
import Animated , { FadeIn } from 'react-native-reanimated'
18
18
19
- import { Box , Flex , Text } from '@audius/harmony-native'
19
+ import { Flex , Text } from '@audius/harmony-native'
20
20
import { make , track as trackEvent } from 'app/services/analytics'
21
21
22
22
import { ProfilePicture } from '../core/ProfilePicture'
@@ -97,76 +97,69 @@ export const CommentBlockInternal = (
97
97
{ ...profilePicLinkProps }
98
98
onPress = { handlePressProfilePic }
99
99
>
100
- { isLoadingUser ? (
101
- < Skeleton
102
- width = { 32 }
103
- height = { 32 }
104
- style = { { borderRadius : 100 , flexShrink : 0 } }
105
- />
106
- ) : (
107
- < ProfilePicture
108
- style = { { width : 32 , height : 32 , flexShrink : 0 } }
109
- userId = { userId }
110
- />
111
- ) }
100
+ < ProfilePicture
101
+ style = { { width : 32 , height : 32 , flexShrink : 0 } }
102
+ userId = { userId }
103
+ borderWidth = 'thin'
104
+ />
112
105
</ TouchableOpacity >
113
106
< Flex
114
- gap = 'xs '
107
+ gap = 's '
115
108
w = '100%'
116
109
alignItems = 'flex-start'
117
110
style = { { flexShrink : 1 } }
118
111
>
119
- < Box style = { { position : 'absolute' , top : 0 , right : 0 } } >
120
- { userId !== undefined ? (
121
- < CommentBadge
122
- isArtist = { isCommentByArtist }
123
- commentUserId = { userId }
124
- />
125
- ) : null }
126
- </ Box >
127
- { isPinned || isArtistReacted ? (
128
- < Flex direction = 'row' justifyContent = 'space-between' w = '100%' >
129
- < ArtistPick isLiked = { isArtistReacted } isPinned = { isPinned } />
130
- </ Flex >
131
- ) : null }
132
- { ! isTombstone ? (
133
- < Flex direction = 'row' gap = 's' alignItems = 'center' w = '65%' >
134
- { isLoadingUser ? < Skeleton width = { 80 } height = { 18 } /> : null }
135
- { userId !== undefined && ! isLoadingUser ? (
136
- < UserLink
137
- userId = { userId }
138
- strength = 'strong'
139
- onPress = { closeDrawer }
140
- lineHeight = 'single'
141
- textLinkStyle = { { lineHeight : 20 } }
142
- />
112
+ < Flex gap = '2xs' >
113
+ < Flex row justifyContent = 'space-between' w = '100%' >
114
+ { isPinned || isArtistReacted ? (
115
+ < ArtistPick isLiked = { isArtistReacted } isPinned = { isPinned } />
143
116
) : null }
144
- < Flex direction = 'row' gap = 'xs' alignItems = 'center' h = '100%' >
145
- < Timestamp time = { dayjs . utc ( createdAt ) . toDate ( ) } />
146
- { trackTimestampS !== undefined ? (
147
- < >
148
- < Text color = 'subdued' size = 's' >
149
- •
150
- </ Text >
151
-
152
- < TimestampLink
153
- size = 's'
154
- timestampSeconds = { trackTimestampS }
155
- onPress = { handlePressTimestamp }
117
+ { ! isTombstone ? (
118
+ < Flex direction = 'row' gap = 's' alignItems = 'center' >
119
+ { isLoadingUser ? < Skeleton width = { 80 } height = { 18 } /> : null }
120
+ { userId !== undefined && ! isLoadingUser ? (
121
+ < UserLink
122
+ userId = { userId }
123
+ strength = 'strong'
124
+ onPress = { closeDrawer }
125
+ lineHeight = 'single'
126
+ textLinkStyle = { { lineHeight : 20 } }
156
127
/>
157
- </ >
158
- ) : null }
159
- </ Flex >
128
+ ) : null }
129
+ < Flex direction = 'row' gap = 'xs' alignItems = 'center' h = '100%' >
130
+ < Timestamp time = { dayjs . utc ( createdAt ) . toDate ( ) } />
131
+ { trackTimestampS !== undefined ? (
132
+ < >
133
+ < Text color = 'subdued' size = 's' >
134
+ •
135
+ </ Text >
136
+
137
+ < TimestampLink
138
+ size = 's'
139
+ timestampSeconds = { trackTimestampS }
140
+ onPress = { handlePressTimestamp }
141
+ />
142
+ </ >
143
+ ) : null }
144
+ </ Flex >
145
+ </ Flex >
146
+ ) : null }
147
+ { userId !== undefined ? (
148
+ < CommentBadge
149
+ isArtist = { isCommentByArtist }
150
+ commentUserId = { userId }
151
+ />
152
+ ) : null }
160
153
</ Flex >
161
- ) : null }
162
- < CommentText
163
- isEdited = { isEdited && ! isTombstone }
164
- isPreview = { isPreview }
165
- commentId = { commentId }
166
- mentions = { mentions }
167
- >
168
- { message }
169
- </ CommentText >
154
+ < CommentText
155
+ isEdited = { isEdited && ! isTombstone }
156
+ isPreview = { isPreview }
157
+ commentId = { commentId }
158
+ mentions = { mentions }
159
+ >
160
+ { message }
161
+ </ CommentText >
162
+ </ Flex >
170
163
{ ! isPreview ? (
171
164
< CommentActionBar
172
165
comment = { comment }
0 commit comments