mirror of https://github.com/M66B/FairEmail.git
Fixed no messages disappearing
This commit is contained in:
parent
c6e3fec885
commit
cbbcad98cb
|
@ -87,7 +87,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
|
|||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
searching = true;
|
||||
searching = model.isSearching();
|
||||
handler.post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
|
|
@ -75,6 +75,11 @@ public class ViewModelBrowse extends ViewModel {
|
|||
currentState.index = -1;
|
||||
}
|
||||
|
||||
boolean isSearching() {
|
||||
State state = currentState;
|
||||
return (state != null && state.search != null);
|
||||
}
|
||||
|
||||
void load() throws MessagingException, IOException {
|
||||
State state = currentState;
|
||||
if (state == null)
|
||||
|
|
Loading…
Reference in New Issue