mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-29 00:51:44 +01:00
Simplification
This commit is contained in:
@@ -191,10 +191,7 @@ public class Helper {
|
||||
static void view(Context context, Uri uri, boolean browse) {
|
||||
Log.i("View=" + uri);
|
||||
|
||||
if (!hasCustomTabs(context, uri))
|
||||
browse = true;
|
||||
|
||||
if (browse) {
|
||||
if (browse || !hasCustomTabs(context, uri)) {
|
||||
Intent view = new Intent(Intent.ACTION_VIEW, uri);
|
||||
context.startActivity(getChooser(context, view));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user