fix repeating toots in timelines (#789)
This commit is contained in:
parent
4653b1e37b
commit
791a87e7a1
|
@ -139,9 +139,9 @@ public class TimelineFragment extends SFragment implements
|
||||||
private boolean bottomLoading;
|
private boolean bottomLoading;
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
private String bottomId;
|
private String bottomId = null;
|
||||||
@Nullable
|
@Nullable
|
||||||
private String topId;
|
private String topId = null;
|
||||||
private long maxPlaceholderId = -1;
|
private long maxPlaceholderId = -1;
|
||||||
private boolean didLoadEverythingBottom;
|
private boolean didLoadEverythingBottom;
|
||||||
|
|
||||||
|
@ -227,9 +227,6 @@ public class TimelineFragment extends SFragment implements
|
||||||
setupTimelinePreferences();
|
setupTimelinePreferences();
|
||||||
setupNothingView();
|
setupNothingView();
|
||||||
|
|
||||||
bottomId = null;
|
|
||||||
topId = null;
|
|
||||||
|
|
||||||
if (statuses.isEmpty()) {
|
if (statuses.isEmpty()) {
|
||||||
progressBar.setVisibility(View.VISIBLE);
|
progressBar.setVisibility(View.VISIBLE);
|
||||||
bottomLoading = true;
|
bottomLoading = true;
|
||||||
|
|
Loading…
Reference in New Issue