Selaa lähdekoodia

Only set statusBarTextColorScheme when creating Modal

Guy Carmeli 7 vuotta sitten
vanhempi
commit
a1111ed906

+ 0
- 1
android/app/src/main/java/com/reactnativenavigation/controllers/Modal.java Näytä tiedosto

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