Skip to content

Commit

Permalink
use a proper const
Browse files Browse the repository at this point in the history
  • Loading branch information
rezkiy37 committed Dec 7, 2023
1 parent 6739105 commit 0d31230
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/ReferralDetailsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function ReferralDetailsPage({route, account}) {
/>
}
headerContainerStyles={[styles.staticHeaderImage, styles.justifyContentCenter]}
backgroundColor={theme.PAGE_THEMES[SCREENS.SETTINGS.WORKSPACES].backgroundColor}
backgroundColor={theme.PAGE_THEMES[SCREENS.RIGHT_MODAL.REFERRAL].backgroundColor}
>
<Text style={[styles.textHeadline, styles.textAlignCenter, styles.mb3, styles.mt8, styles.ph4]}>{contentHeader}</Text>
<Text style={[styles.textAlignCenter, styles.inlineSystemMessage, styles.mb6, styles.ph4]}>{contentBody}</Text>
Expand Down
4 changes: 4 additions & 0 deletions src/styles/themes/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ const darkTheme = {
backgroundColor: colors.darkHighlightBackground,
statusBarStyle: CONST.STATUS_BAR_STYLE.LIGHT_CONTENT,
},
[SCREENS.RIGHT_MODAL.REFERRAL]: {
backgroundColor: colors.pink800,
statusBarStyle: CONST.STATUS_BAR_STYLE.LIGHT_CONTENT,
},
},

statusBarStyle: CONST.STATUS_BAR_STYLE.LIGHT_CONTENT,
Expand Down
4 changes: 4 additions & 0 deletions src/styles/themes/light.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ const lightTheme = {
backgroundColor: colors.lightHighlightBackground,
statusBarStyle: CONST.STATUS_BAR_STYLE.DARK_CONTENT,
},
[SCREENS.RIGHT_MODAL.REFERRAL]: {
backgroundColor: colors.pink800,
statusBarStyle: CONST.STATUS_BAR_STYLE.LIGHT_CONTENT,
},
},

statusBarStyle: CONST.STATUS_BAR_STYLE.DARK_CONTENT,
Expand Down

0 comments on commit 0d31230

Please sign in to comment.