fix timestamp not updating in notifications (#1416)

This commit is contained in:
Konrad Pozniak 2019-07-27 21:52:00 +02:00 committed by GitHub
parent 1a1be57d54
commit 57edf86495
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -202,7 +202,7 @@ public class NotificationsAdapter extends RecyclerView.Adapter {
concreteNotificaton.getId()); concreteNotificaton.getId());
} else { } else {
if (payloadForHolder instanceof List) if (payloadForHolder instanceof List)
for (Object item : payloads) { for (Object item : (List)payloadForHolder) {
if (StatusBaseViewHolder.Key.KEY_CREATED.equals(item)) { if (StatusBaseViewHolder.Key.KEY_CREATED.equals(item)) {
holder.setCreatedAt(statusViewData.getCreatedAt()); holder.setCreatedAt(statusViewData.getCreatedAt());
} }