From 61f7b9bdc54ad066e98d24d3a5da4777363d604d Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 29 Mar 2020 14:14:24 +0200 Subject: [PATCH] Confirm copy --- app/src/main/java/eu/faircode/email/FragmentMessages.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index c332fe98e3..d0106048ec 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -6251,7 +6251,11 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences. @Override protected void onExecuted(Bundle args, ArrayList result) { - moveAsk(result, false, !autoclose && onclose == null); + boolean copy = args.getBoolean("copy"); + if (copy) + ToastEx.makeText(getContext(), R.string.title_completed, Toast.LENGTH_SHORT).show(); + else + moveAsk(result, false, !autoclose && onclose == null); } @Override