mirror of https://github.com/M66B/FairEmail.git
Report no spam instead of inbox in the spam folder
This commit is contained in:
parent
8319bceb33
commit
faefc29572
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue