From c779ed21b8743956e16e6b41492617079da85363 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 28 Feb 2019 08:49:29 +0000 Subject: [PATCH] Small fix --- app/src/main/java/eu/faircode/email/FragmentCompose.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index 2c02011e38..a3b37c3738 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -1864,7 +1864,7 @@ public class FragmentCompose extends FragmentBase { if (ex instanceof SecurityException) handleFileShare(); else if (ex instanceof IllegalArgumentException) - Snackbar.make(view, ex.toString(), Snackbar.LENGTH_LONG).show(); + Snackbar.make(view, ex.getMessage(), Snackbar.LENGTH_LONG).show(); else Helper.unexpectedError(getContext(), getViewLifecycleOwner(), ex); }