mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 17:13:23 +02:00
Improved no viewer message
This commit is contained in:
@@ -2928,7 +2928,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
} catch (ActivityNotFoundException ex) {
|
||||
Log.w(ex);
|
||||
ToastEx.makeText(context,
|
||||
context.getString(R.string.title_no_viewer, intent.getAction()),
|
||||
context.getString(R.string.title_no_viewer, intent),
|
||||
Toast.LENGTH_LONG).show();
|
||||
}
|
||||
}
|
||||
@@ -3941,7 +3941,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
}.execute(context, owner, args, "view:cid");
|
||||
|
||||
else
|
||||
ToastEx.makeText(context, context.getString(R.string.title_no_viewer, uri.toString()), Toast.LENGTH_LONG).show();
|
||||
ToastEx.makeText(context, context.getString(R.string.title_no_viewer, uri), Toast.LENGTH_LONG).show();
|
||||
}
|
||||
|
||||
private void onMenuUnseen(final TupleMessageEx message) {
|
||||
@@ -4343,7 +4343,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
PackageManager pm = context.getPackageManager();
|
||||
if (intent.resolveActivity(pm) == null) // system whitelisted
|
||||
Snackbar.make(parentFragment.getView(),
|
||||
context.getString(R.string.title_no_viewer, intent.getAction()),
|
||||
context.getString(R.string.title_no_viewer, intent),
|
||||
Snackbar.LENGTH_LONG).
|
||||
show();
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user