Fix notifications update
This commit is contained in:
parent
dc6909ddee
commit
13ece2616d
|
@ -273,6 +273,7 @@ public class DisplayNotificationsFragment extends Fragment implements OnRetrieve
|
||||||
return;
|
return;
|
||||||
//Store last notification id to avoid to notify for those that have been already seen
|
//Store last notification id to avoid to notify for those that have been already seen
|
||||||
if (visible && notifications != null && notifications.size() > 0) {
|
if (visible && notifications != null && notifications.size() > 0) {
|
||||||
|
retrieveMissingNotifications(notifications.get(0).getId());
|
||||||
updateNotificationLastId(notifications.get(0).getId());
|
updateNotificationLastId(notifications.get(0).getId());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue