From e4896d317e1fbc91ea2905ddd300eab1a274a879 Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Sat, 27 Jul 2019 21:52:00 +0200 Subject: [PATCH] fix timestamp not updating in notifications (#1416) --- .../com/keylesspalace/tusky/adapter/NotificationsAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/adapter/NotificationsAdapter.java b/app/src/main/java/com/keylesspalace/tusky/adapter/NotificationsAdapter.java index 68ff3af0..8c80055e 100644 --- a/app/src/main/java/com/keylesspalace/tusky/adapter/NotificationsAdapter.java +++ b/app/src/main/java/com/keylesspalace/tusky/adapter/NotificationsAdapter.java @@ -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()); }