Prevent crash

pull/147/head
M66B 6 years ago
parent 09499cb0c4
commit fad122a705

@ -862,6 +862,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
return; return;
TupleMessageEx message = differ.getItem(pos); TupleMessageEx message = differ.getItem(pos);
if (message == null)
return;
if (view.getId() == R.id.ivSnoozed) if (view.getId() == R.id.ivSnoozed)
onShowSnoozed(message); onShowSnoozed(message);

Loading…
Cancel
Save