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())
|
result(webView?.getContentHeight())
|
||||||
break
|
break
|
||||||
case "zoomBy":
|
case "zoomBy":
|
||||||
let zoomFactor = arguments!["zoomFactor"] as! Float
|
let zoomFactor = (arguments!["zoomFactor"] as! NSNumber).floatValue
|
||||||
let animated = arguments!["animated"] as! Bool
|
let animated = arguments!["animated"] as! Bool
|
||||||
webView?.zoomBy(zoomFactor: zoomFactor, animated: animated)
|
webView?.zoomBy(zoomFactor: zoomFactor, animated: animated)
|
||||||
result(true)
|
result(true)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user