Guess schema for direct open

pull/205/head
M66B 3 years ago
parent ef1d2c229e
commit eefab1d75d

@ -4778,7 +4778,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
fragment.show(parentFragment.getParentFragmentManager(), "open:link"); fragment.show(parentFragment.getParentFragmentManager(), "open:link");
} else { } else {
boolean browse_links = prefs.getBoolean("browse_links", false); boolean browse_links = prefs.getBoolean("browse_links", false);
Helper.view(context, uri, browse_links, browse_links); Helper.view(context, UriHelper.guessScheme(uri), browse_links, browse_links);
} }
} }

Loading…
Cancel
Save