oops: put home timeline if result NOT empty
This commit is contained in:
parent
5f7faa69e8
commit
3097bc7168
|
@ -154,7 +154,7 @@ public class HomeTimelineFragment extends StatusListFragment {
|
||||||
prependItems(toAdd, true);
|
prependItems(toAdd, true);
|
||||||
if(parent != null && GlobalUserPreferences.showNewPostsButton) parent.showNewPostsButton();
|
if(parent != null && GlobalUserPreferences.showNewPostsButton) parent.showNewPostsButton();
|
||||||
}
|
}
|
||||||
if(toAddUnfiltered.isEmpty())
|
if(!toAddUnfiltered.isEmpty())
|
||||||
AccountSessionManager.getInstance().getAccount(accountID).getCacheController().putHomeTimeline(toAddUnfiltered, false);
|
AccountSessionManager.getInstance().getAccount(accountID).getCacheController().putHomeTimeline(toAddUnfiltered, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue