瀏覽代碼

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