diff --git a/shell/platform/darwin/ios/framework/Source/FlutterPlatformPlugin.mm b/shell/platform/darwin/ios/framework/Source/FlutterPlatformPlugin.mm index e0a803905cc..eae9e51ffa9 100644 --- a/shell/platform/darwin/ios/framework/Source/FlutterPlatformPlugin.mm +++ b/shell/platform/darwin/ios/framework/Source/FlutterPlatformPlugin.mm @@ -140,9 +140,9 @@ using namespace shell; - (void)setSystemChromeSystemUIOverlayStyle:(NSDictionary*)message { NSString* style = message[@"statusBarBrightness"]; UIStatusBarStyle statusBarStyle; - if ([style isEqualToString:@"Brightness.light"]) + if ([style isEqualToString:@"Brightness.dark"]) statusBarStyle = UIStatusBarStyleLightContent; - else if ([style isEqualToString:@"Brightness.dark"]) + else if ([style isEqualToString:@"Brightness.light"]) statusBarStyle = UIStatusBarStyleDefault; else return;