diff --git a/src/components/CustomStatusBarAndBackground/index.tsx b/src/components/CustomStatusBarAndBackground/index.tsx index 524c8a3903e0..356fbd3726a3 100644 --- a/src/components/CustomStatusBarAndBackground/index.tsx +++ b/src/components/CustomStatusBarAndBackground/index.tsx @@ -114,11 +114,6 @@ function CustomStatusBarAndBackground({isNested = false}: CustomStatusBarAndBack [prevIsRootStatusBarEnabled, isRootStatusBarEnabled, statusBarAnimation, statusBarStyle, theme.PAGE_THEMES, theme.appBG, theme.statusBarStyle], ); - useEffect(() => { - updateStatusBarAppearance({backgroundColor: theme.appBG}); - // eslint-disable-next-line react-hooks/exhaustive-deps -- we only want this to run on first render - }, []); - useEffect(() => { didForceUpdateStatusBarRef.current = false; }, [isRootStatusBarEnabled]); diff --git a/src/libs/getSplashBackgroundColor/index.native.ts b/src/libs/getSplashBackgroundColor/index.native.ts deleted file mode 100644 index 1d21b7a004e1..000000000000 --- a/src/libs/getSplashBackgroundColor/index.native.ts +++ /dev/null @@ -1,7 +0,0 @@ -import colors from '@styles/theme/colors'; - -function getSplashBackgroundColor() { - return colors.green400; -} - -export default getSplashBackgroundColor; diff --git a/src/libs/getSplashBackgroundColor/index.ts b/src/libs/getSplashBackgroundColor/index.ts deleted file mode 100644 index 97484d49163e..000000000000 --- a/src/libs/getSplashBackgroundColor/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -import colors from '@styles/theme/colors'; - -function getSplashBackgroundColor() { - return colors.productDark100; -} - -export default getSplashBackgroundColor; diff --git a/src/styles/theme/themes/dark.ts b/src/styles/theme/themes/dark.ts index f0493a815747..73d7fa969214 100644 --- a/src/styles/theme/themes/dark.ts +++ b/src/styles/theme/themes/dark.ts @@ -1,4 +1,3 @@ -import getSplashBackgroundColor from '@libs/getSplashBackgroundColor'; import colors from '@styles/theme/colors'; import type {ThemeColors} from '@styles/theme/types'; import CONST from '@src/CONST'; @@ -7,7 +6,7 @@ import SCREENS from '@src/SCREENS'; const darkTheme = { // Figma keys appBG: colors.productDark100, - splashBG: getSplashBackgroundColor(), + splashBG: colors.green400, highlightBG: colors.productDark200, border: colors.productDark400, borderLighter: colors.productDark400, diff --git a/src/styles/theme/themes/light.ts b/src/styles/theme/themes/light.ts index cf490a90a7f7..16339c70bafe 100644 --- a/src/styles/theme/themes/light.ts +++ b/src/styles/theme/themes/light.ts @@ -1,4 +1,3 @@ -import getSplashBackgroundColor from '@libs/getSplashBackgroundColor'; import colors from '@styles/theme/colors'; import type {ThemeColors} from '@styles/theme/types'; import CONST from '@src/CONST'; @@ -7,7 +6,7 @@ import SCREENS from '@src/SCREENS'; const lightTheme = { // Figma keys appBG: colors.productLight100, - splashBG: getSplashBackgroundColor(), + splashBG: colors.green400, highlightBG: colors.productLight200, border: colors.productLight400, borderLighter: colors.productLight400, diff --git a/web/index.html b/web/index.html index be6396190d25..ccdd4edb4355 100644 --- a/web/index.html +++ b/web/index.html @@ -4,7 +4,7 @@ New Expensify - +