From ca27f41bf80e98bc5a3a0ed9691244b98b16ef5d Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 3 Jul 2020 21:00:00 +0200 Subject: [PATCH] Fixed crash --- 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 d4c54d20ca..e8f4e4f1ec 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -4314,7 +4314,7 @@ public class FragmentCompose extends FragmentBase { else id = R.string.title_draft_saved; - ToastEx.makeText(getContext(), + ToastEx.makeText(context, getString(id) + (BuildConfig.DEBUG ? ":" + draft.revision : ""), Toast.LENGTH_LONG).show();