Skip to content

Commit fe0b54e

Browse files
author
dtmalloy1
committed
modified comparison to use nil rather than null
1 parent 5d634d0 commit fe0b54e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/Classes/FlutterWebviewPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ - (void)initWebview:(FlutterMethodCall*)call {
101101
}
102102

103103
CGRect rc;
104-
if (rect != (id)[NSNull null]) {
104+
if (rect != nil) {
105105
rc = [self parseRect:rect];
106106
} else {
107107
rc = self.viewController.view.bounds;

0 commit comments

Comments
 (0)