Merge pull request #2136 from WalcoFPV/fix_android_webview

Fixed webview helper blocked on 'Checking webview applications' loader
10.8-maintenance
Michael Keller 2020-07-30 00:26:52 +12:00 committed by GitHub
commit 6e018c73cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ const WEBVIEW = {
getAdvice2: function(callback) { getAdvice2: function(callback) {
const self = this; const self = this;
if (self.uptodateApps.length > 0) { if (self.uptodateApps.length > 0) {
self.advices.selectWebview(callback); self.advices.selectWebview(self.uptodateApps[0], callback);
} else { } else {
if ((self.apps[WEBVIEW.appsId.googleWebview].installed && self.apps[WEBVIEW.appsId.googleWebview].enabled) if ((self.apps[WEBVIEW.appsId.googleWebview].installed && self.apps[WEBVIEW.appsId.googleWebview].enabled)
&& (self.apps[WEBVIEW.appsId.chrome].installed && self.apps[WEBVIEW.appsId.chrome].enabled)) { && (self.apps[WEBVIEW.appsId.chrome].installed && self.apps[WEBVIEW.appsId.chrome].enabled)) {