瀏覽代碼

[RN] Remove unused code

efficient_tiling
Bettenbuk Zoltan 6 年之前
父節點
當前提交
8065cc0348
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0
    5
      react/features/mobile/full-screen/middleware.js

+ 0
- 5
react/features/mobile/full-screen/middleware.js 查看文件

@@ -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…
取消
儲存