mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Prevent crash
This commit is contained in:
@@ -44,7 +44,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
|
||||
|
||||
void onLoaded();
|
||||
|
||||
void onError(Context context, Throwable ex);
|
||||
void onError(Throwable ex);
|
||||
}
|
||||
|
||||
BoundaryCallbackMessages(LifecycleOwner owner, ViewModelBrowse _model, IBoundaryCallbackMessages intf) {
|
||||
@@ -102,7 +102,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
|
||||
handler.post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
intf.onError(model.getContext(), ex);
|
||||
intf.onError(ex);
|
||||
}
|
||||
});
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user