fix links with uppercase letters in scheme not being opened

closes #801
This commit is contained in:
Conny Duck 2018-09-04 18:43:06 +02:00
parent d49502f798
commit 2436099d35

View file

@ -126,7 +126,7 @@ public class LinkHelper {
* @param context context
*/
public static void openLink(String url, Context context) {
Uri uri = Uri.parse(url);
Uri uri = Uri.parse(url).normalizeScheme();
boolean useCustomTabs = PreferenceManager.getDefaultSharedPreferences(context)
.getBoolean("customTabs", false);