mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-20 21:27:07 +00:00
Fixed boundary UI thread
This commit is contained in:
parent
f2bbac42b9
commit
0a62c43923
1 changed files with 8 additions and 1 deletions
|
@ -595,7 +595,14 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
|
|||
if (ex instanceof ProtocolException &&
|
||||
ex.getMessage() != null &&
|
||||
ex.getMessage().contains("full text search not supported")) {
|
||||
intf.onWarning(context.getString(R.string.title_service_auth, ex.toString()));
|
||||
String msg = context.getString(R.string.title_service_auth, ex.toString());
|
||||
ApplicationEx.getMainHandler().post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (intf != null)
|
||||
intf.onWarning(msg);
|
||||
}
|
||||
});
|
||||
criteria.in_message = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue