From 97f660cd171855e232746b5a786597c8c77c8c9b Mon Sep 17 00:00:00 2001 From: zhongwuzw Date: Sat, 14 Dec 2019 18:26:08 +0800 Subject: [PATCH 1/2] Fix comments of iOS status bar height constant --- .../darwin/ios/framework/Source/FlutterViewController.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/platform/darwin/ios/framework/Source/FlutterViewController.mm b/shell/platform/darwin/ios/framework/Source/FlutterViewController.mm index 8e351383b0ff6..1e082ec4ebd97 100644 --- a/shell/platform/darwin/ios/framework/Source/FlutterViewController.mm +++ b/shell/platform/darwin/ios/framework/Source/FlutterViewController.mm @@ -1068,7 +1068,7 @@ - (NSString*)contrastMode { #pragma mark - Status Bar touch event handling -// Standard iOS status bar height in pixels. +// Standard iOS status bar height in points. constexpr CGFloat kStandardStatusBarHeight = 20.0; - (void)handleStatusBarTouches:(UIEvent*)event { From 5891ff0d15a3eb6b8a7e1420fd8208f1ea5530ec Mon Sep 17 00:00:00 2001 From: zhongwuzw Date: Sun, 15 Dec 2019 16:47:26 +0800 Subject: [PATCH 2/2] update comments --- shell/platform/darwin/ios/framework/Headers/FlutterEngine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/platform/darwin/ios/framework/Headers/FlutterEngine.h b/shell/platform/darwin/ios/framework/Headers/FlutterEngine.h index c5fd42b4c8a82..51782ceca07cb 100644 --- a/shell/platform/darwin/ios/framework/Headers/FlutterEngine.h +++ b/shell/platform/darwin/ios/framework/Headers/FlutterEngine.h @@ -296,7 +296,7 @@ FLUTTER_EXPORT @property(nonatomic, readonly) NSObject* binaryMessenger; /** - * The UI Isolate ID of of the engine. + * The UI Isolate ID of the engine. * * This property will be nil if the engine is not running. */