Prevent crash

This commit is contained in:
M66B 2020-01-02 19:51:00 +01:00
parent f3c7cab833
commit a7460463df
1 changed files with 7 additions and 1 deletions

View File

@ -4078,7 +4078,13 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
if (this.suitable != state.isSuitable() || this.unmetered != state.isUnmetered()) {
this.suitable = state.isSuitable();
this.unmetered = state.isUnmetered();
notifyDataSetChanged();
new Handler().post(new Runnable() {
@Override
public void run() {
notifyDataSetChanged();
}
});
}
}