mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-23 01:00:04 +02:00
Fix issue #833 - URL protocol in upper case
This commit is contained in:
parent
6345fe6adb
commit
15416b8c5a
1 changed files with 2 additions and 0 deletions
|
@ -665,6 +665,8 @@ public class Helper {
|
||||||
.build();
|
.build();
|
||||||
builder.setDefaultColorSchemeParams(defaultColors);
|
builder.setDefaultColorSchemeParams(defaultColors);
|
||||||
CustomTabsIntent customTabsIntent = builder.build();
|
CustomTabsIntent customTabsIntent = builder.build();
|
||||||
|
url = url.replace("HTTPS://", "https://");
|
||||||
|
url = url.replace("HTTP://", "http://");
|
||||||
try {
|
try {
|
||||||
customTabsIntent.launchUrl(context, Uri.parse(url));
|
customTabsIntent.launchUrl(context, Uri.parse(url));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
Loading…
Reference in a new issue