mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-25 01:06:04 +00:00
Scroll to expanded message
This commit is contained in:
parent
a884745b9b
commit
61ad85eed7
1 changed files with 9 additions and 1 deletions
|
@ -6481,8 +6481,16 @@ public class FragmentMessages extends FragmentBase
|
|||
}
|
||||
|
||||
if (expand != null &&
|
||||
(expand.content || unmetered || (expand.size != null && expand.size < download)))
|
||||
(expand.content || unmetered || (expand.size != null && expand.size < download))) {
|
||||
iProperties.setExpanded(expand, true, false);
|
||||
for (int pos = 0; pos < messages.size(); pos++) {
|
||||
TupleMessageEx message = messages.get(pos);
|
||||
if (message == expand) {
|
||||
adapter.gotoPos(pos);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Auto expand all seen messages
|
||||
|
|
Loading…
Reference in a new issue