Skip to content

Commit

Permalink
rollback chrome change (flutter#5721)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahwilliams authored Jul 11, 2018
1 parent 68d81a3 commit c5a63d2
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,11 @@ private void setSystemChromeSystemUIOverlayStyle(JSONObject message) {
if (!message.isNull("systemNavigationBarIconBrightness")) {
String systemNavigationBarIconBrightness = message.getString("systemNavigationBarIconBrightness");
switch (systemNavigationBarIconBrightness) {
case "Brightness.light":
case "Brightness.dark":
//View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR
flags |= 0x10;
break;
case "Brightness.dark":
case "Brightness.light":
flags &= ~0x10;
break;
}
Expand All @@ -255,11 +255,11 @@ private void setSystemChromeSystemUIOverlayStyle(JSONObject message) {
if (!message.isNull("statusBarIconBrightness")) {
String statusBarIconBrightness = message.getString("statusBarIconBrightness");
switch (statusBarIconBrightness) {
case "Brightness.light":
case "Brightness.dark":
// View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR
flags |= 0x2000;
break;
case "Brightness.dark":
case "Brightness.light":
flags &= ~0x2000;
break;
}
Expand Down

0 comments on commit c5a63d2

Please sign in to comment.