mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Back out "Change StatusBar default style handling strategy"
Summary: Original commit changeset: 76e7d0d45fd3 Changelog: [Internal] Reviewed By: makovkastar Differential Revision: D24783092 fbshipit-source-id: 876eaeaffbed63599553456f189f3675aa406e13
This commit is contained in:
1 parent
b6362c24f9
commit
8e956b3afd
3 files changed
+2
-3
No files matched your search
+1
-1
@@ -194,7 +194,7 @@ public class StatusBarModule extends NativeStatusBarManagerAndroidSpec {
|
||||
int systemUiVisibilityFlags = decorView.getSystemUiVisibility();
|
||||
if ("dark-content".equals(style)) {
|
||||
systemUiVisibilityFlags |= View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR;
|
||||
} else if ("light-content".equals(style)) {
|
||||
} else {
|
||||
systemUiVisibilityFlags &= ~View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR;
|
||||
}
|
||||
decorView.setSystemUiVisibility(systemUiVisibilityFlags);
|
||||
|
||||
Reference in new issue
Block a user