Merge branch 'Manuito83-manuito-zoomBy' into develop
This commit is contained in:
commit
485b35e748
@ -289,7 +289,7 @@ public class InAppWebViewMethodHandler: FlutterMethodCallDelegate {
|
||||
result(webView?.getContentHeight())
|
||||
break
|
||||
case "zoomBy":
|
||||
let zoomFactor = arguments!["zoomFactor"] as! Float
|
||||
let zoomFactor = (arguments!["zoomFactor"] as! NSNumber).floatValue
|
||||
let animated = arguments!["animated"] as! Bool
|
||||
webView?.zoomBy(zoomFactor: zoomFactor, animated: animated)
|
||||
result(true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user