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:
parent
4ded425466
commit
c37dbd15af
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue