fix repeating toots in timelines (#789)

This commit is contained in:
Konrad Pozniak 2018-08-22 21:19:56 +02:00 committed by GitHub
parent 4653b1e37b
commit 791a87e7a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -139,9 +139,9 @@ public class TimelineFragment extends SFragment implements
private boolean bottomLoading;
@Nullable
private String bottomId;
private String bottomId = null;
@Nullable
private String topId;
private String topId = null;
private long maxPlaceholderId = -1;
private boolean didLoadEverythingBottom;
@ -227,9 +227,6 @@ public class TimelineFragment extends SFragment implements
setupTimelinePreferences();
setupNothingView();
bottomId = null;
topId = null;
if (statuses.isEmpty()) {
progressBar.setVisibility(View.VISIBLE);
bottomLoading = true;