Skip to content

Commit

Permalink
Revert "Make status bar transparent on android"
Browse files Browse the repository at this point in the history
This reverts commit 1c3cbe0.
  • Loading branch information
Julesssss committed Mar 9, 2023
1 parent 22cfc7a commit 1569f47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/CustomStatusBar/index.android.js
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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() {
Expand Down

0 comments on commit 1569f47

Please sign in to comment.