mirror of https://github.com/M66B/FairEmail.git
Simplification
This commit is contained in:
parent
73d704d688
commit
61cab0b965
|
@ -1180,8 +1180,7 @@ public class FragmentMessages extends FragmentEx {
|
||||||
int unseen = 0;
|
int unseen = 0;
|
||||||
TupleMessageEx single = null;
|
TupleMessageEx single = null;
|
||||||
TupleMessageEx see = null;
|
TupleMessageEx see = null;
|
||||||
for (int i = 0; i < messages.size(); i++) {
|
for (TupleMessageEx message : messages)
|
||||||
TupleMessageEx message = messages.get(i);
|
|
||||||
if (!EntityFolder.ARCHIVE.equals(message.folderType) &&
|
if (!EntityFolder.ARCHIVE.equals(message.folderType) &&
|
||||||
!EntityFolder.SENT.equals(message.folderType) &&
|
!EntityFolder.SENT.equals(message.folderType) &&
|
||||||
!EntityFolder.OUTBOX.equals(message.folderType)) {
|
!EntityFolder.OUTBOX.equals(message.folderType)) {
|
||||||
|
@ -1192,7 +1191,6 @@ public class FragmentMessages extends FragmentEx {
|
||||||
see = message;
|
see = message;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Auto expand when:
|
// Auto expand when:
|
||||||
// - single, non archived/sent message
|
// - single, non archived/sent message
|
||||||
|
|
Loading…
Reference in New Issue