Improved no viewer message

This commit is contained in:
M66B
2020-06-21 15:01:44 +02:00
parent 9052760439
commit 41654d152e
7 changed files with 14 additions and 14 deletions

View File

@@ -164,7 +164,7 @@ public class FragmentDialogBase extends DialogFragment {
super.startActivity(intent);
} catch (ActivityNotFoundException ex) {
Log.w(ex);
ToastEx.makeText(getContext(), getString(R.string.title_no_viewer, intent.getAction()), Toast.LENGTH_LONG).show();
ToastEx.makeText(getContext(), getString(R.string.title_no_viewer, intent), Toast.LENGTH_LONG).show();
}
}
@@ -174,7 +174,7 @@ public class FragmentDialogBase extends DialogFragment {
super.startActivityForResult(intent, requestCode);
} catch (ActivityNotFoundException ex) {
Log.w(ex);
ToastEx.makeText(getContext(), getString(R.string.title_no_viewer, intent.getAction()), Toast.LENGTH_LONG).show();
ToastEx.makeText(getContext(), getString(R.string.title_no_viewer, intent), Toast.LENGTH_LONG).show();
}
}
}