From d2923801bb90c037dfacb1deb2d7cc52c950f559 Mon Sep 17 00:00:00 2001 From: Wu Zhong Date: Mon, 16 Dec 2019 04:34:21 +0800 Subject: [PATCH] Fix comments of iOS status bar height constant (#14496) --- shell/platform/darwin/ios/framework/Headers/FlutterEngine.h | 2 +- .../darwin/ios/framework/Source/FlutterViewController.mm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/platform/darwin/ios/framework/Headers/FlutterEngine.h b/shell/platform/darwin/ios/framework/Headers/FlutterEngine.h index c5fd42b4c8a..51782ceca07 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. */ diff --git a/shell/platform/darwin/ios/framework/Source/FlutterViewController.mm b/shell/platform/darwin/ios/framework/Source/FlutterViewController.mm index 8e351383b0f..1e082ec4ebd 100644 --- a/shell/platform/darwin/ios/framework/Source/FlutterViewController.mm +++ b/shell/platform/darwin/ios/framework/Source/FlutterViewController.mm @@ -1068,7 +1068,7 @@ static flutter::PointerData::DeviceKind DeviceKindFromTouchType(UITouch* touch) #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 {