mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
f3c7cab833
commit
a7460463df
|
@ -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();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue