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
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
try {
|
try {
|
||||||
searching = true;
|
searching = model.isSearching();
|
||||||
handler.post(new Runnable() {
|
handler.post(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
|
|
@ -75,6 +75,11 @@ public class ViewModelBrowse extends ViewModel {
|
||||||
currentState.index = -1;
|
currentState.index = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
boolean isSearching() {
|
||||||
|
State state = currentState;
|
||||||
|
return (state != null && state.search != null);
|
||||||
|
}
|
||||||
|
|
||||||
void load() throws MessagingException, IOException {
|
void load() throws MessagingException, IOException {
|
||||||
State state = currentState;
|
State state = currentState;
|
||||||
if (state == null)
|
if (state == null)
|
||||||
|
|
Loading…
Reference in New Issue