fix an error where opening notifications would lead to the wrong status
This commit is contained in:
parent
fcb8a23343
commit
51c547ffb0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue