mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-30 19:56:10 +00:00
Independent auto expand seen
This commit is contained in:
parent
9216adb216
commit
b3c53c0e87
1 changed files with 7 additions and 6 deletions
|
@ -3193,13 +3193,14 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
|
||||
iProperties.setValue("expanded", expand.id, true);
|
||||
}
|
||||
|
||||
boolean expand_all = prefs.getBoolean("expand_all", false);
|
||||
if (expand_all)
|
||||
for (TupleMessageEx message : messages)
|
||||
if (message != null && message.ui_seen)
|
||||
iProperties.setValue("expanded", message.id, true);
|
||||
}
|
||||
|
||||
// Auto expand all seen messages
|
||||
boolean expand_all = prefs.getBoolean("expand_all", false);
|
||||
if (expand_all)
|
||||
for (TupleMessageEx message : messages)
|
||||
if (message != null && message.ui_seen)
|
||||
iProperties.setValue("expanded", message.id, true);
|
||||
} else {
|
||||
if (autoCloseCount > 0 && (autoclose || onclose != null)) {
|
||||
int count = 0;
|
||||
|
|
Loading…
Reference in a new issue