Updated auto-comment.yml

This commit is contained in:
Lorenzo Pichilli 2021-03-30 18:20:17 +02:00
parent 7d6c88d622
commit ac000804b9
2 changed files with 8 additions and 3 deletions

View File

@ -11,7 +11,7 @@ jobs:
👋 @{{ author }}
**NOTE**: This comment is auto-generated.
<br />
Are you sure you have already searched for the same problem?
Some people open new issues but they didn't search for something similar or for the same issue.

View File

@ -357,6 +357,7 @@ class InAppWebViewController {
break;
case "onZoomScaleChanged":
if ((_webview != null &&
// ignore: deprecated_member_use_from_same_package
(_webview!.androidOnScaleChanged != null ||
_webview!.onZoomScaleChanged != null)) ||
_inAppBrowser != null) {
@ -365,10 +366,14 @@ class InAppWebViewController {
if (_webview != null) {
if (_webview!.onZoomScaleChanged != null)
_webview!.onZoomScaleChanged!(this, oldScale, newScale);
else
else {
// ignore: deprecated_member_use_from_same_package
_webview!.androidOnScaleChanged!(this, oldScale, newScale);
} else
}
} else {
// ignore: deprecated_member_use_from_same_package
_inAppBrowser!.androidOnScaleChanged(oldScale, newScale);
}
}
break;
case "onReceivedIcon":