Pebble: Fix app configuration when internet helper is available but disallowed

This commit is contained in:
Arjan Schrijver
2026-03-03 10:48:55 +01:00
parent 92f0a7d802
commit 8e02231d66
@@ -205,7 +205,7 @@ public class GBWebClient extends WebViewClient {
Uri parsedUri = Uri.parse(url);
if (parsedUri.getScheme().startsWith("http")) {
if (GBApplication.hasInternetAccess()) {
if (GBApplication.hasInternetAccess() && firewall.isAllowed(parsedUri)) {
view.loadUrl(url);
} else {
Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(url));