From 9592cb4d73cba7efee0ceef110cbc84909afb100 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 30 May 2021 10:27:42 +0200 Subject: [PATCH] Allow disabling confirmation of deleting single messages --- FAQ.md | 2 ++ .../eu/faircode/email/AdapterMessage.java | 11 +++++++++++ .../eu/faircode/email/FragmentDialogAsk.java | 19 +++++++++++++++---- .../eu/faircode/email/FragmentMessages.java | 11 +++++++++++ .../faircode/email/FragmentOptionsMisc.java | 2 +- app/src/main/res/layout/dialog_ask_again.xml | 13 +++++++++++++ app/src/main/res/values/strings.xml | 1 + 7 files changed, 54 insertions(+), 5 deletions(-) diff --git a/FAQ.md b/FAQ.md index fd3cf6e42c..c53f2040aa 100644 --- a/FAQ.md +++ b/FAQ.md @@ -3547,6 +3547,8 @@ please see [here](https://github.com/disconnectme/disconnect-tracking-protection Permanent deletion means that messages will *irreversibly* be lost, and to prevent this from happening accidentally, this always needs to be confirmed. Even with a confirmation, some very angry people who lost some of their messages through their own fault contacted me, which was a rather unpleasant experience :-( +Since version 1.1601 it is possible to disable confirmation of permanent deletion of individual messages. + Note that the POP3 protocol can download messages from the inbox only. So, deleted messages cannot be uploaded to the inbox again. This means that messages can only be permanently deleted when using a POP3 account. diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index d9157e49fe..5d0e22e1d3 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -4155,8 +4155,19 @@ public class AdapterMessage extends RecyclerView.Adapter + + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 2fe46260d1..2fed1a3d45 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -994,6 +994,7 @@ Some attachments or images were not downloaded and could not be added Save changes? Delete message permanently? + I understand that permanently deleting messages is irreversible Delete reply template permanently? Delete rule permanently? Discard draft?