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
1 changed files with 4 additions and 0 deletions

View File

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