浏览代码

Only set statusBarTextColorScheme when creating Modal

Guy Carmeli 7 年前
父节点
当前提交
a1111ed906
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0
    1
      android/app/src/main/java/com/reactnativenavigation/controllers/Modal.java

+ 0
- 1
android/app/src/main/java/com/reactnativenavigation/controllers/Modal.java 查看文件

@@ -122,7 +122,6 @@ class Modal extends Dialog implements DialogInterface.OnDismissListener, ScreenS
122 122
     private void setStatusBarStyle(StyleParams styleParams) {
123 123
         Window window = getWindow();
124 124
         if (window == null) return;
125
-        StatusBar.setColor(window, styleParams.statusBarColor);
126 125
         StatusBar.setTextColorScheme(window.getDecorView(), styleParams.statusBarTextColorScheme);
127 126
     }
128 127