|
@@ -1,6 +1,5 @@
|
1
|
1
|
// @flow
|
2
|
2
|
|
3
|
|
-import { StatusBar } from 'react-native';
|
4
|
3
|
import { Immersive } from 'react-native-immersive';
|
5
|
4
|
|
6
|
5
|
import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../../base/app';
|
|
@@ -91,10 +90,6 @@ function _setFullScreen(fullScreen: boolean) {
|
91
|
90
|
// throws on other platforms.
|
92
|
91
|
if (Platform.OS === 'android') {
|
93
|
92
|
fullScreen ? Immersive.on() : Immersive.off();
|
94
|
|
- } else {
|
95
|
|
- // On platforms other than Android go with whatever React Native itself
|
96
|
|
- // supports.
|
97
|
|
- StatusBar.setHidden(fullScreen, 'slide');
|
98
|
93
|
}
|
99
|
94
|
}
|
100
|
95
|
|