1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-24 00:35:26 +03:00

Fixed webview helper blocked on 'Checking webview applications' loader

This commit is contained in:
WalcoFPV 2020-07-25 09:16:53 +02:00
parent 1f1c97e7e8
commit f3ff45dafa

View file

@ -90,7 +90,7 @@ const WEBVIEW = {
getAdvice2: function(callback) {
const self = this;
if (self.uptodateApps.length > 0) {
self.advices.selectWebview(callback);
self.advices.selectWebview(self.uptodateApps[0], callback);
} else {
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)) {