1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Winmail.dat assistance

This commit is contained in:
M66B 2020-06-03 16:54:37 +02:00
parent 14cd6f2c45
commit b7cc8081a3

View file

@ -436,9 +436,13 @@ public class Helper {
// Check if viewer available
if (ris.size() == 0) {
String message = context.getString(R.string.title_no_viewer,
type != null ? type : name != null ? name : file.getName());
ToastEx.makeText(context, message, Toast.LENGTH_LONG).show();
if ("application/ms-tnef".equals(type))
viewFAQ(context, 155);
else {
String message = context.getString(R.string.title_no_viewer,
type != null ? type : name != null ? name : file.getName());
ToastEx.makeText(context, message, Toast.LENGTH_LONG).show();
}
} else
context.startActivity(intent);
}