|
|
@ -4270,7 +4270,11 @@ 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 && !message.duplicate)
|
|
|
|
if (message != null &&
|
|
|
|
|
|
|
|
message.ui_seen &&
|
|
|
|
|
|
|
|
!message.duplicate &&
|
|
|
|
|
|
|
|
!EntityFolder.DRAFTS.equals(message.folderType) &&
|
|
|
|
|
|
|
|
!EntityFolder.TRASH.equals(message.folderType))
|
|
|
|
iProperties.setExpanded(message, true);
|
|
|
|
iProperties.setExpanded(message, true);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
if (autoCloseCount > 0 && (autoclose || onclose != null)) {
|
|
|
|
if (autoCloseCount > 0 && (autoclose || onclose != null)) {
|
|
|
|