fix an error where opening notifications would lead to the wrong status

main
Conny Duck 7 years ago
parent 764cbac7b7
commit 42aa75b92e
  1. 2
      app/src/main/java/com/keylesspalace/tusky/fragment/NotificationsFragment.java

@ -532,7 +532,7 @@ public class NotificationsFragment extends SFragment implements
notifications.addAll(newNotifications); notifications.addAll(newNotifications);
List<NotificationViewData> newViewDatas = notifications.getPairedCopy() List<NotificationViewData> newViewDatas = notifications.getPairedCopy()
.subList(notifications.size() - newNotifications.size(), .subList(notifications.size() - newNotifications.size(),
notifications.size() - 1); notifications.size());
adapter.addItems(newViewDatas); adapter.addItems(newViewDatas);
} }
} }

Loading…
Cancel
Save