From 0d3123011650c594d8c2d37770208db76c5be5bb Mon Sep 17 00:00:00 2001 From: Mykhailo Kravchenko Date: Thu, 7 Dec 2023 19:10:30 +0100 Subject: [PATCH] use a proper const --- src/pages/ReferralDetailsPage.js | 2 +- src/styles/themes/default.ts | 4 ++++ src/styles/themes/light.ts | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/pages/ReferralDetailsPage.js b/src/pages/ReferralDetailsPage.js index b9f8dcc6f356..fc820d47f549 100644 --- a/src/pages/ReferralDetailsPage.js +++ b/src/pages/ReferralDetailsPage.js @@ -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} > {contentHeader} {contentBody} diff --git a/src/styles/themes/default.ts b/src/styles/themes/default.ts index 59de9b7269a8..1d9ab3e315a0 100644 --- a/src/styles/themes/default.ts +++ b/src/styles/themes/default.ts @@ -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, diff --git a/src/styles/themes/light.ts b/src/styles/themes/light.ts index 1541c0e723d7..0fe60d8f3f6a 100644 --- a/src/styles/themes/light.ts +++ b/src/styles/themes/light.ts @@ -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,