+10
-14
src/view/com/util/PostMeta.tsx
+10
-14
src/view/com/util/PostMeta.tsx
···
13
13
import {sanitizeHandle} from '#/lib/strings/handles'
14
14
import {sanitizePronouns} from '#/lib/strings/pronouns'
15
15
import {niceDate} from '#/lib/strings/time'
16
-
import {isAndroid} from '#/platform/detection'
17
16
import {useProfileShadow} from '#/state/cache/profile-shadow'
18
17
import {precacheProfile} from '#/state/queries/profile'
19
18
import {atoms as a, platform, useTheme, web} from '#/alf'
···
64
63
return (
65
64
<View
66
65
style={[
67
-
isAndroid ? a.flex_1 : a.flex_shrink,
66
+
a.flex_shrink,
68
67
a.flex_row,
69
68
a.align_center,
70
69
a.pb_xs,
···
174
173
a.pl_xs,
175
174
a.text_md,
176
175
a.leading_tight,
177
-
isAndroid && a.flex_grow,
178
176
a.text_right,
179
177
t.atoms.text_contrast_medium,
180
178
web({
···
183
181
]}>
184
182
{!opts.showPronouns && (
185
183
<>
186
-
{!isAndroid && (
187
-
<Text
188
-
style={[
189
-
a.text_md,
190
-
a.leading_tight,
191
-
t.atoms.text_contrast_medium,
192
-
]}
193
-
accessible={false}>
194
-
·{' '}
195
-
</Text>
196
-
)}
184
+
<Text
185
+
style={[
186
+
a.text_md,
187
+
a.leading_tight,
188
+
t.atoms.text_contrast_medium,
189
+
]}
190
+
accessible={false}>
191
+
·{' '}
192
+
</Text>
197
193
{timeElapsed}
198
194
</>
199
195
)}