diff --git a/src/components/LottieAnimations/index.tsx b/src/components/LottieAnimations/index.tsx index 657fe79b401f..477ce02cd740 100644 --- a/src/components/LottieAnimations/index.tsx +++ b/src/components/LottieAnimations/index.tsx @@ -71,6 +71,7 @@ const DotLottieAnimations = { file: require('@assets/animations/Desk.lottie'), w: 200, h: 120, + backgroundColor: colors.blue700, }, Plane: { file: require('@assets/animations/Plane.lottie'), diff --git a/src/pages/settings/Troubleshoot/TroubleshootPage.tsx b/src/pages/settings/Troubleshoot/TroubleshootPage.tsx index 0424682c7afb..f697590327a8 100644 --- a/src/pages/settings/Troubleshoot/TroubleshootPage.tsx +++ b/src/pages/settings/Troubleshoot/TroubleshootPage.tsx @@ -18,7 +18,6 @@ import Text from '@components/Text'; import TextLink from '@components/TextLink'; import useEnvironment from '@hooks/useEnvironment'; import useLocalize from '@hooks/useLocalize'; -import useTheme from '@hooks/useTheme'; import useThemeStyles from '@hooks/useThemeStyles'; import useWaitForNavigation from '@hooks/useWaitForNavigation'; import useWindowDimensions from '@hooks/useWindowDimensions'; @@ -28,7 +27,6 @@ import * as Report from '@userActions/Report'; import type {TranslationPaths} from '@src/languages/types'; import ONYXKEYS from '@src/ONYXKEYS'; import ROUTES from '@src/ROUTES'; -import SCREENS from '@src/SCREENS'; import getLightbulbIllustrationStyle from './getLightbulbIllustrationStyle'; type BaseMenuItem = { @@ -45,7 +43,6 @@ type TroubleshootPageProps = TroubleshootPageOnyxProps; function TroubleshootPage({shouldStoreLogs}: TroubleshootPageProps) { const {translate} = useLocalize(); - const theme = useTheme(); const styles = useThemeStyles(); const {isProduction} = useEnvironment(); const [isConfirmationModalVisible, setIsConfirmationModalVisible] = useState(false); @@ -105,7 +102,6 @@ function TroubleshootPage({shouldStoreLogs}: TroubleshootPageProps) { illustration={LottieAnimations.Desk} illustrationStyle={illustrationStyle} titleStyles={styles.accountSettingsSectionTitle} - illustrationBackgroundColor={theme.PAGE_THEMES[SCREENS.SETTINGS.TROUBLESHOOT].backgroundColor} renderSubtitle={() => ( {translate('initialSettingsPage.troubleshoot.description')}{' '} diff --git a/src/styles/theme/themes/dark.ts b/src/styles/theme/themes/dark.ts index 8df3750b57ac..b316f116c805 100644 --- a/src/styles/theme/themes/dark.ts +++ b/src/styles/theme/themes/dark.ts @@ -136,7 +136,7 @@ const darkTheme = { statusBarStyle: CONST.STATUS_BAR_STYLE.LIGHT_CONTENT, }, [SCREENS.SETTINGS.TROUBLESHOOT]: { - backgroundColor: colors.blue700, + backgroundColor: colors.productDark100, statusBarStyle: CONST.STATUS_BAR_STYLE.LIGHT_CONTENT, }, [SCREENS.REFERRAL_DETAILS]: { diff --git a/src/styles/theme/themes/light.ts b/src/styles/theme/themes/light.ts index 16f403355ed2..05364515e264 100644 --- a/src/styles/theme/themes/light.ts +++ b/src/styles/theme/themes/light.ts @@ -136,8 +136,8 @@ const lightTheme = { statusBarStyle: CONST.STATUS_BAR_STYLE.DARK_CONTENT, }, [SCREENS.SETTINGS.TROUBLESHOOT]: { - backgroundColor: colors.blue700, - statusBarStyle: CONST.STATUS_BAR_STYLE.LIGHT_CONTENT, + backgroundColor: colors.productLight100, + statusBarStyle: CONST.STATUS_BAR_STYLE.DARK_CONTENT, }, [SCREENS.REFERRAL_DETAILS]: { backgroundColor: colors.pink800,