1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 02:07:12 +00:00

Report no spam instead of inbox in the spam folder

This commit is contained in:
M66B 2022-08-19 22:56:27 +02:00
parent 8319bceb33
commit faefc29572

View file

@ -6061,6 +6061,8 @@ public class FragmentMessages extends FragmentBase
boolean more_delete = prefs.getBoolean("more_delete", false);
boolean more_move = prefs.getBoolean("more_move", true);
boolean inJunk = EntityFolder.JUNK.equals(type);
int count = 0;
boolean move = (more_move && count < MAX_QUICK_ACTIONS && result.canMove());
@ -6117,6 +6119,8 @@ public class FragmentMessages extends FragmentBase
if (seen)
count++;
ibInbox.setImageResource(inJunk ? R.drawable.twotone_report_off_24 : R.drawable.twotone_inbox_24);
ibBatchSeen.setVisibility(seen ? View.VISIBLE : View.GONE);
ibBatchUnseen.setVisibility(unseen ? View.VISIBLE : View.GONE);
ibBatchSnooze.setVisibility(snooze ? View.VISIBLE : View.GONE);