fix links with uppercase letters in scheme not being opened
closes #801
This commit is contained in:
parent
d49502f798
commit
2436099d35
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ public class LinkHelper {
|
||||||
* @param context context
|
* @param context context
|
||||||
*/
|
*/
|
||||||
public static void openLink(String url, 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)
|
boolean useCustomTabs = PreferenceManager.getDefaultSharedPreferences(context)
|
||||||
.getBoolean("customTabs", false);
|
.getBoolean("customTabs", false);
|
||||||
|
|
Loading…
Reference in a new issue