diff options
author | Minseo Lee <itoupluk427@gmail.com> | 2024-09-12 23:30:57 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-12 15:30:57 +0100 |
commit | 4d22adbcf6866fb2995e090b2528bdb5968d7f78 (patch) | |
tree | 1627cd257aa67efda77391298125326fb6c7e82d /src/view/com/util/post-embeds/VideoEmbedInner/VideoWebControls.tsx | |
parent | 7da3ddbe247a0b272e615a7bbbe91ba9805cb309 (diff) | |
download | voidsky-4d22adbcf6866fb2995e090b2528bdb5968d7f78.tar.zst |
Tabular numbers to video timestamp (#5293)
Diffstat (limited to 'src/view/com/util/post-embeds/VideoEmbedInner/VideoWebControls.tsx')
-rw-r--r-- | src/view/com/util/post-embeds/VideoEmbedInner/VideoWebControls.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/util/post-embeds/VideoEmbedInner/VideoWebControls.tsx b/src/view/com/util/post-embeds/VideoEmbedInner/VideoWebControls.tsx index bb15db083..791025f70 100644 --- a/src/view/com/util/post-embeds/VideoEmbedInner/VideoWebControls.tsx +++ b/src/view/com/util/post-embeds/VideoEmbedInner/VideoWebControls.tsx @@ -370,7 +370,7 @@ export function Controls({ onPress={onPressPlayPause} /> <View style={a.flex_1} /> - <Text style={{color: t.palette.white}}> + <Text style={{color: t.palette.white, fontVariant: ['tabular-nums']}}> {formatTime(currentTime)} / {formatTime(duration)} </Text> {hasSubtitleTrack && ( |