Update InAppWebViewMethodHandler.swift
This commit is contained in:
parent
8c8c4f4675
commit
23edf4054f
@ -290,7 +290,7 @@ public class InAppWebViewMethodHandler: FlutterMethodCallDelegate {
|
||||
break
|
||||
case "zoomBy":
|
||||
let zoomFactor = (arguments!["zoomFactor"] as! NSNumber).floatValue
|
||||
let animated = arguments!["iosAnimated"] as! Bool
|
||||
let animated = arguments!["animated"] as! Bool
|
||||
webView?.zoomBy(zoomFactor: zoomFactor, animated: animated)
|
||||
result(true)
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user