From b586593ca56612eebcf61935251416fd260f11ca Mon Sep 17 00:00:00 2001 From: Jules Date: Thu, 9 Mar 2023 11:46:04 +0000 Subject: [PATCH] Merge pull request #15771 from Expensify/jules-revertPR15656 Revert "Make status bar transparent on android" (cherry picked from commit 743bfa66f4c4c9156c2cd3897df52b6ee48863e7) --- src/components/CustomStatusBar/index.android.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/CustomStatusBar/index.android.js b/src/components/CustomStatusBar/index.android.js index 2d3579dbfeba..fa3f8921e82a 100644 --- a/src/components/CustomStatusBar/index.android.js +++ b/src/components/CustomStatusBar/index.android.js @@ -1,5 +1,6 @@ import React from 'react'; import {StatusBar} from 'react-native'; +import themeColors from '../../styles/themes/default'; /** * Only the Android platform supports "setBackgroundColor" @@ -8,8 +9,7 @@ import {StatusBar} from 'react-native'; export default class CustomStatusBar extends React.Component { componentDidMount() { StatusBar.setBarStyle('light-content'); - StatusBar.setBackgroundColor('transparent'); - StatusBar.setTranslucent(true); + StatusBar.setBackgroundColor(themeColors.appBG); } render() {