소스 검색

Merge pull request #393 from malloy045/master

modified comparison to use nil rather than null
Rafal Wachol 6 년 전
부모
커밋
88c4dc6764
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ios/Classes/FlutterWebviewPlugin.m

+ 1 - 1
ios/Classes/FlutterWebviewPlugin.m

@@ -101,7 +101,7 @@ static NSString *const CHANNEL_NAME = @"flutter_webview_plugin";
     }
 
     CGRect rc;
-    if (rect != (id)[NSNull null]) {
+    if (rect != nil) {
         rc = [self parseRect:rect];
     } else {
         rc = self.viewController.view.bounds;