multi download
This commit is contained in:
parent
0d422a57e7
commit
b8782b0507
5 changed files with 58 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue