fix repeating toots in timelines (#789)

main
Konrad Pozniak 6 years ago committed by GitHub
parent 4f8d905e7b
commit f3a3013ffa
  1. 7
      app/src/main/java/com/keylesspalace/tusky/fragment/TimelineFragment.java

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

Loading…
Cancel
Save