oops: put home timeline if result NOT empty

This commit is contained in:
sk 2023-10-18 23:28:44 +02:00
parent 5f7faa69e8
commit 3097bc7168
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ public class HomeTimelineFragment extends StatusListFragment {
prependItems(toAdd, true);
if(parent != null && GlobalUserPreferences.showNewPostsButton) parent.showNewPostsButton();
}
if(toAddUnfiltered.isEmpty())
if(!toAddUnfiltered.isEmpty())
AccountSessionManager.getInstance().getAccount(accountID).getCacheController().putHomeTimeline(toAddUnfiltered, false);
}