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
     private void setStatusBarStyle(StyleParams styleParams) {
122
     private void setStatusBarStyle(StyleParams styleParams) {
123
         Window window = getWindow();
123
         Window window = getWindow();
124
         if (window == null) return;
124
         if (window == null) return;
125
-        StatusBar.setColor(window, styleParams.statusBarColor);
126
         StatusBar.setTextColorScheme(window.getDecorView(), styleParams.statusBarTextColorScheme);
125
         StatusBar.setTextColorScheme(window.getDecorView(), styleParams.statusBarTextColorScheme);
127
     }
126
     }
128
 
127