Fix issue #833 - URL protocol in upper case

custom_theming
Thomas 2 years ago
parent 6345fe6adb
commit 15416b8c5a

@ -665,6 +665,8 @@ public class Helper {
.build();
builder.setDefaultColorSchemeParams(defaultColors);
CustomTabsIntent customTabsIntent = builder.build();
url = url.replace("HTTPS://", "https://");
url = url.replace("HTTP://", "http://");
try {
customTabsIntent.launchUrl(context, Uri.parse(url));
} catch (Exception e) {

Loading…
Cancel
Save