Fixed getting next page of feed

This commit is contained in:
ByteHamster 2021-03-10 12:18:01 +01:00
parent 9f88e3c7c7
commit 2cbcdb97d1
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ public class FeedSyncTask {
if (loadAllPages && feed.getNextPageLink() != null) { if (loadAllPages && feed.getNextPageLink() != null) {
try { try {
feed.setId(savedFeed.getId()); feed.setId(savedFeed.getId());
DBTasks.loadNextPageOfFeed(context, savedFeed, true); DBTasks.loadNextPageOfFeed(context, feed, true);
} catch (DownloadRequestException e) { } catch (DownloadRequestException e) {
Log.e(TAG, "Error trying to load next page", e); Log.e(TAG, "Error trying to load next page", e);
} }