From 91de48ad6298fe4623ccee95eaa2586e2505a94d Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 10 Aug 2021 13:16:51 +0200 Subject: [PATCH] Copy to folder by long pressing --- .../java/eu/faircode/email/AdapterFolder.java | 11 ++++++---- .../faircode/email/FragmentDialogFolder.java | 22 ++++++++++++++----- .../eu/faircode/email/FragmentMessages.java | 6 +++-- 3 files changed, 28 insertions(+), 11 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/AdapterFolder.java b/app/src/main/java/eu/faircode/email/AdapterFolder.java index d8c017f866..bf64722054 100644 --- a/app/src/main/java/eu/faircode/email/AdapterFolder.java +++ b/app/src/main/java/eu/faircode/email/AdapterFolder.java @@ -181,6 +181,7 @@ public class AdapterFolder extends RecyclerView.Adapter result) { boolean copy = args.getBoolean("copy"); - if (copy) + if (copy) { moveAskConfirmed(result); - else + ToastEx.makeText(getContext(), R.string.title_copy, Toast.LENGTH_LONG).show(); + } else moveAsk(result, true); }