Commit 15416b8c authored by Thomas's avatar Thomas
Browse files

Fix issue #833 - URL protocol in upper case

parent 6345fe6a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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) {