mirror of https://github.com/M66B/FairEmail.git
Skip auto expanding duplicate messages
This commit is contained in:
parent
7f7809fc9e
commit
ec0bad2753
|
@ -3867,7 +3867,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||||
boolean expand_all = prefs.getBoolean("expand_all", false);
|
boolean expand_all = prefs.getBoolean("expand_all", false);
|
||||||
if (expand_all)
|
if (expand_all)
|
||||||
for (TupleMessageEx message : messages)
|
for (TupleMessageEx message : messages)
|
||||||
if (message != null && message.ui_seen)
|
if (message != null && message.ui_seen && !message.duplicate)
|
||||||
iProperties.setExpanded(message, true);
|
iProperties.setExpanded(message, true);
|
||||||
} else {
|
} else {
|
||||||
if (autoCloseCount > 0 && (autoclose || onclose != null)) {
|
if (autoCloseCount > 0 && (autoclose || onclose != null)) {
|
||||||
|
|
Loading…
Reference in New Issue