Skip to content

Commit 51aa840

Browse files
committed
Merge pull request #2136 from WalcoFPV/fix_android_webview
Fixed webview helper blocked on 'Checking webview applications' loader
1 parent 9ac1db9 commit 51aa840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/main_cordova.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const WEBVIEW = {
9090
getAdvice2: function(callback) {
9191
const self = this;
9292
if (self.uptodateApps.length > 0) {
93-
self.advices.selectWebview(callback);
93+
self.advices.selectWebview(self.uptodateApps[0], callback);
9494
} else {
9595
if ((self.apps[WEBVIEW.appsId.googleWebview].installed && self.apps[WEBVIEW.appsId.googleWebview].enabled)
9696
&& (self.apps[WEBVIEW.appsId.chrome].installed && self.apps[WEBVIEW.appsId.chrome].enabled)) {

0 commit comments

Comments
 (0)