From 1fd4ba3abf9228709b28dc249ddaf4cc61b4b926 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 25 Jun 2023 07:20:17 +0200 Subject: [PATCH] Skip trash sent thread for sent messages folder --- app/src/main/java/eu/faircode/email/FragmentMessages.java | 3 ++- 1 file changed, 2 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 7c5f90e0ab..4475f668de 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -487,7 +487,8 @@ public class FragmentMessages extends FragmentBase args.getBoolean("force_threading")); swipenav = prefs.getBoolean("swipenav", true); seekbar = prefs.getBoolean("seekbar", false); - thread_sent_trash = prefs.getBoolean("thread_sent_trash", true); + thread_sent_trash = (prefs.getBoolean("thread_sent_trash", true) && + !EntityFolder.SENT.equals(type)); actionbar = prefs.getBoolean("actionbar", true); boolean actionbar_swap = prefs.getBoolean("actionbar_swap", false); actionbar_delete_id = (actionbar_swap ? R.id.action_archive : R.id.action_delete);