Sfoglia il codice sorgente

[RN] Remove unused code

j8
Bettenbuk Zoltan 6 anni fa
parent
commit
8065cc0348
1 ha cambiato i file con 0 aggiunte e 5 eliminazioni
  1. 0
    5
      react/features/mobile/full-screen/middleware.js

+ 0
- 5
react/features/mobile/full-screen/middleware.js Vedi File

@@ -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
 

Loading…
Annulla
Salva