Skip to content

Commit

Permalink
Merge branch 'Manuito83-manuito-zoomBy' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
pichillilorenzo committed Apr 17, 2022
2 parents fab9ae4 + 23edf40 commit 485b35e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Classes/InAppWebViewMethodHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 485b35e

Please sign in to comment.