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

This commit is contained in:
Conny Duck 2017-11-04 13:25:37 +01:00
parent fcb8a23343
commit 51c547ffb0

View file

@ -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);
} }
} }