Revert "Enable auto delete for spam"

This reverts commit 40d55cfd00.
This commit is contained in:
M66B
2019-07-07 11:47:39 +02:00
parent ba4fc168de
commit e878a9fe2a
2 changed files with 2 additions and 6 deletions

View File

@@ -210,10 +210,7 @@ public class FragmentFolder extends FragmentBase {
else
etKeepDays.setText(Integer.toString(folder == null ? EntityFolder.DEFAULT_KEEP : folder.keep_days));
cbAutoDelete.setChecked(folder == null ? false : folder.auto_delete);
cbAutoDelete.setVisibility(
folder != null &&
(EntityFolder.JUNK.equals(folder.type) || EntityFolder.TRASH.equals(folder.type))
? View.VISIBLE : View.GONE);
cbAutoDelete.setVisibility(folder != null && EntityFolder.TRASH.equals(folder.type) ? View.VISIBLE : View.GONE);
}
// Consider previous save as cancelled