Skip to content

Commit

Permalink
Rename text styles
Browse files Browse the repository at this point in the history
  • Loading branch information
filip-solecki committed Feb 9, 2024
1 parent 1743d97 commit 0375e27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/settings/AboutPage/AboutPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function AboutPage() {
<View style={[styles.pAbsolute, styles.w100, styles.h100, styles.justifyContentEnd, styles.pb3]}>
<Text
selectable
style={[styles.textLabel, styles.textIvoryLight, styles.alignSelfCenter]}
style={[styles.textLabel, styles.textVersion, styles.alignSelfCenter]}
>
v{Environment.isInternalTestBuild() ? `${pkg.version} PR:${CONST.PULL_REQUEST_NUMBER}${getFlavor()}` : `${pkg.version}${getFlavor()}`}
</Text>
Expand Down
3 changes: 2 additions & 1 deletion src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -443,11 +443,12 @@ const styles = (theme: ThemeColors) =>
color: theme.link,
},

textIvoryLight: {
textVersion: {
color: theme.iconColorfulBackground,
fontSize: variables.fontSizeNormal,
lineHeight: variables.lineHeightNormal,
fontFamily: FontUtils.fontFamily.platform.MONOSPACE,
textAlign: 'center',
},

textNoWrap: {
Expand Down

0 comments on commit 0375e27

Please sign in to comment.