From 3075030b1c47d9bc1dfb0950074157af6dd46e25 Mon Sep 17 00:00:00 2001 From: sk Date: Fri, 27 Oct 2023 17:38:54 +0200 Subject: [PATCH] add todo --- .../org/joinmastodon/android/fragments/HomeTimelineFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/HomeTimelineFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/HomeTimelineFragment.java index fae16790da..1613aa42bf 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/HomeTimelineFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/HomeTimelineFragment.java @@ -212,6 +212,7 @@ public void onSuccess(List result){ AccountSessionManager.getInstance().getAccount(accountID).getCacheController().putHomeTimeline(Collections.singletonList(gapStatus), false); } }else{ + // TODO: refactor this code. it's too long. incomprehensible, even if(downwards) { Set idsBelowGap=new HashSet<>(); boolean belowGap=false;