fix notifications loading (again) (#845)

* fix notifications loading (again)

* Revert "fix notifications loading (again)"

This reverts commit 226710fabf5175d4f6a2103c6896bcfe37e3230e.

* 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());
}
if (adapter.getItemCount() > 1) {
if (adapter.getItemCount() > 0) {
addItems(notifications, fromId);
} else {
/* If this is the first fetch, also save the id from the "previous" link and