diff options
author | surfdude29 <149612116+surfdude29@users.noreply.github.com> | 2024-10-07 15:45:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-07 09:45:05 -0500 |
commit | ff70b8ff614fa7d4098f34fd4b020049e148376d (patch) | |
tree | 561b1022fe483c6d41763082f01fd99349874d3e | |
parent | f050c51f11073272f061f1afac6acc13bdc91621 (diff) | |
download | voidsky-ff70b8ff614fa7d4098f34fd4b020049e148376d.tar.zst |
use tabular numbers in CharProgress (#5631)
-rw-r--r-- | src/view/com/composer/char-progress/CharProgress.tsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/view/com/composer/char-progress/CharProgress.tsx b/src/view/com/composer/char-progress/CharProgress.tsx index 1c9327410..c7d9628d6 100644 --- a/src/view/com/composer/char-progress/CharProgress.tsx +++ b/src/view/com/composer/char-progress/CharProgress.tsx @@ -30,7 +30,13 @@ export function CharProgress({ return ( <View style={[a.flex_row, a.align_center, a.justify_between, a.gap_sm, style]}> - <Text style={[{color: textColor}, a.flex_grow, a.text_right, textStyle]}> + <Text + style={[ + {color: textColor, fontVariant: ['tabular-nums']}, + a.flex_grow, + a.text_right, + textStyle, + ]}> {maxLength - count} </Text> {count > maxLength ? ( |