mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 09:47:13 +00:00
Report no spam instead of inbox in the spam folder
This commit is contained in:
parent
8319bceb33
commit
faefc29572
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue