fix notifications loading (again) (#845)

* fix notifications loading (again)

* Revert "fix notifications loading (again)"

This reverts commit 226710fabf.

* fix notification loading (this time for really real)
This commit is contained in:
Konrad Pozniak 2018-09-28 17:14:37 +02:00 committed by GitHub
parent 4ded425466
commit c37dbd15af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -697,7 +697,7 @@ public class NotificationsFragment extends SFragment implements
adapter.removeItemAndNotify(this.notifications.size()); adapter.removeItemAndNotify(this.notifications.size());
} }
if (adapter.getItemCount() > 1) { if (adapter.getItemCount() > 0) {
addItems(notifications, fromId); addItems(notifications, fromId);
} else { } else {
/* If this is the first fetch, also save the id from the "previous" link and /* If this is the first fetch, also save the id from the "previous" link and