From 1569f47ce97a7300ebda229feee2425e53297a16 Mon Sep 17 00:00:00 2001 From: Jules Rosser Date: Thu, 9 Mar 2023 10:14:26 +0000 Subject: [PATCH] Revert "Make status bar transparent on android" This reverts commit 1c3cbe0eb5904a42e28890f6a43ed54bda2e6541. --- 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() {