multi download

This commit is contained in:
Finnley Somdahl 2023-12-05 20:35:25 -06:00
parent 0d422a57e7
commit b8782b0507
5 changed files with 58 additions and 0 deletions

View file

@ -197,6 +197,10 @@ open class MangaReadFragment : Fragment(), ScanlatorSelectionListener {
updateChapters()
}
fun multiDownload(n: Int) {
chapterAdapter.downloadNextNChapters(n)
}
private fun updateChapters() {
val loadedChapters = model.getMangaChapters().value
if (loadedChapters != null) {