Fix comments of iOS status bar height constant (#14496)

This commit is contained in:
Wu Zhong 2019-12-16 04:34:21 +08:00 committed by Chinmay Garde
parent 45c6c3a5df
commit d2923801bb
2 changed files with 2 additions and 2 deletions

View File

@ -296,7 +296,7 @@ FLUTTER_EXPORT
@property(nonatomic, readonly) NSObject<FlutterBinaryMessenger>* 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.
*/

View File

@ -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 {