We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f4ffc7c + 1c3cbe0 commit 618ce68Copy full SHA for 618ce68
1 file changed
src/components/CustomStatusBar/index.android.js
@@ -1,6 +1,5 @@
1
import React from 'react';
2
import {StatusBar} from 'react-native';
3
-import themeColors from '../../styles/themes/default';
4
5
/**
6
* Only the Android platform supports "setBackgroundColor"
@@ -9,7 +8,8 @@ import themeColors from '../../styles/themes/default';
9
8
export default class CustomStatusBar extends React.Component {
10
componentDidMount() {
11
StatusBar.setBarStyle('light-content');
12
- StatusBar.setBackgroundColor(themeColors.appBG);
+ StatusBar.setBackgroundColor('transparent');
+ StatusBar.setTranslucent(true);
13
}
14
15
render() {
0 commit comments