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)
main
Konrad Pozniak 6 years ago committed by GitHub
parent eb7459406a
commit 36fdfb3de6
  1. 2
      app/src/main/java/com/keylesspalace/tusky/fragment/NotificationsFragment.java

@ -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

Loading…
Cancel
Save