Skip to content

Commit

Permalink
Closes #796
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamantcheese committed Mar 7, 2020
1 parent 613976c commit 147bd79
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,9 @@ public void onChanLoaderData(ChanThread result) {
}

loadable.setLastLoaded(result.getPosts().get(result.getPostsCount() - 1).no);
if (loadable.lastViewed == -1) {
loadable.setLastViewed(loadable.lastLoaded);
}

if (more > 0 && loadable.no == result.getLoadable().no) {
threadPresenterCallback.showNewPostsNotification(true, more);
Expand Down

0 comments on commit 147bd79

Please sign in to comment.