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
1 changed files with 1 additions and 1 deletions

View File

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