Skip to content

Commit e33e24b

Browse files
Fetch as many items as possible during the initial sync
1 parent 44d00e3 commit e33e24b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/src/main/java/com/readrops/api/services/greader/GReaderDataSource.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class GReaderDataSource(private val service: GReaderService) {
4545
async { folders = getFolders() },
4646
async { feeds = getFeeds() },
4747
async {
48-
items = getItems(listOf(GOOGLE_READ, GOOGLE_STARRED), MAX_ITEMS, null)
48+
items = getItems(listOf(GOOGLE_READ, GOOGLE_STARRED), Int.MAX_VALUE, null)
4949
},
5050
async { starredItems = getStarredItems(MAX_STARRED_ITEMS) },
5151
async { unreadIds = getItemsIds(GOOGLE_READ, GOOGLE_READING_LIST, MAX_ITEMS) },

0 commit comments

Comments
 (0)