Explorar o código

Merge pull request #142 from rickytan/master

fix: iOS webview compile & typo
Hadrien Lejard %!s(int64=7) %!d(string=hai) anos
pai
achega
62ba3a2878
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      ios/Classes/FlutterWebviewPlugin.m

+ 2 - 2
ios/Classes/FlutterWebviewPlugin.m

@@ -94,8 +94,8 @@ static NSString *const CHANNEL_NAME = @"flutter_webview_plugin";
     self.webview.navigationDelegate = self;
     self.webview.scrollView.delegate = self;
     self.webview.hidden = [hidden boolValue];
-    self.webview.showsHorizontalScrollIndicator = [scrollBar boolValue];
-    self.webView.showsVerticalScrollIndicator = [scrollBar boolValue];
+    self.webview.scrollView.showsHorizontalScrollIndicator = [scrollBar boolValue];
+    self.webview.scrollView.showsVerticalScrollIndicator = [scrollBar boolValue];
 
     _enableZoom = [withZoom boolValue];