Skip trash sent thread for sent messages folder

This commit is contained in:
M66B 2023-06-25 07:20:17 +02:00
parent 06627421e1
commit 1fd4ba3abf
1 changed files with 2 additions and 1 deletions

View File

@ -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);