mirror of
https://github.com/mihonapp/mihon.git
synced 2026-10-16 13:48:09 -07:00
Keep the chapter selection when new chapters download after a refresh
This commit is contained in:
@@ -652,6 +652,7 @@ class MangaViewModel(
|
||||
downloadManager.startDownloadNow(chapterId)
|
||||
} else {
|
||||
downloadChapters(chapters)
|
||||
toggleAllSelection(false)
|
||||
}
|
||||
|
||||
if (!isFavorited && !hasPromptedToAddBefore) {
|
||||
@@ -793,7 +794,6 @@ class MangaViewModel(
|
||||
private suspend fun downloadChapters(chapters: List<Chapter>) {
|
||||
val manga = successState?.manga ?: return
|
||||
downloadManager.downloadChapters(manga, chapters)
|
||||
toggleAllSelection(false)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user