fix crash in TimelineFragment (#1159)
This commit is contained in:
parent
397ef051c1
commit
51a3e0ea5e
1 changed files with 6 additions and 0 deletions
|
@ -853,6 +853,12 @@ public class TimelineFragment extends SFragment implements
|
||||||
if (didLoadEverythingBottom || bottomLoading) {
|
if (didLoadEverythingBottom || bottomLoading) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(statuses.size() == 0) {
|
||||||
|
sendInitialRequest();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
bottomLoading = true;
|
bottomLoading = true;
|
||||||
|
|
||||||
Either<Placeholder, Status> last = statuses.get(statuses.size() - 1);
|
Either<Placeholder, Status> last = statuses.get(statuses.size() - 1);
|
||||||
|
|
Loading…
Reference in a new issue