[RN] Remove unused code

This commit is contained in:
Bettenbuk Zoltan 2019-02-01 15:18:38 +01:00 committed by Saúl Ibarra Corretgé
parent 045a2d6aca
commit 8065cc0348
1 changed files with 0 additions and 5 deletions

View File

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