fix crash in TimelineFragment (#1159)

main
Konrad Pozniak 6 years ago committed by GitHub
parent 5e75ad0628
commit 31481126a3
  1. 6
      app/src/main/java/com/keylesspalace/tusky/fragment/TimelineFragment.java

@ -853,6 +853,12 @@ public class TimelineFragment extends SFragment implements
if (didLoadEverythingBottom || bottomLoading) {
return;
}
if(statuses.size() == 0) {
sendInitialRequest();
return;
}
bottomLoading = true;
Either<Placeholder, Status> last = statuses.get(statuses.size() - 1);

Loading…
Cancel
Save