mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Fix crash when deleting chapter downloads and leaving details page
This commit is contained in:
parent
2b9f360f1a
commit
dbb50fee29
1 changed files with 2 additions and 1 deletions
|
@ -50,7 +50,8 @@ class DownloadQueue(
|
||||||
}
|
}
|
||||||
|
|
||||||
fun updateListeners() {
|
fun updateListeners() {
|
||||||
downloadListeners.forEach { it.updateDownloads() }
|
val listeners = downloadListeners.toList()
|
||||||
|
listeners.forEach { it.updateDownloads() }
|
||||||
}
|
}
|
||||||
|
|
||||||
fun remove(chapter: Chapter) {
|
fun remove(chapter: Chapter) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue