almost completed grabber

This commit is contained in:
2022-09-07 17:34:07 +06:00
parent b19f3ee2b9
commit 4c4d4f6946
3 changed files with 60 additions and 20 deletions

View File

@@ -36,9 +36,9 @@ data class ChatSettings(
DefaultBoards.E926 -> DefaultImageBoards.E926
}
suspend fun makeRequest(): List<BoardImage> {
suspend fun makeRequest(page: Int): List<BoardImage> {
return withContext(Dispatchers.IO) {
board.search(count, query).blocking()
board.search(page, count, query).blocking()
}
}