Browse Source

Only set statusBarTextColorScheme when creating Modal

Guy Carmeli 7 years ago
parent
commit
a1111ed906

+ 0
- 1
android/app/src/main/java/com/reactnativenavigation/controllers/Modal.java View File

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