mirror of
https://github.com/accelforce/Yuito
synced 2025-01-03 11:30:29 +01:00
fix links with uppercase letters in scheme not being opened
closes #801
This commit is contained in:
parent
d49502f798
commit
2436099d35
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user