mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-20 04:29:18 +01:00
Move io tasks for removing library entries to io thread
relates to #797 but tbd if it fixes it
This commit is contained in:
parent
3ec46f958d
commit
f1c624fe16
@ -573,10 +573,12 @@ class MangaDetailsPresenter(
|
||||
}
|
||||
|
||||
fun confirmDeletion() {
|
||||
coverCache.deleteFromCache(manga)
|
||||
downloadManager.deleteManga(manga, source)
|
||||
customMangaManager.saveMangaInfo(CustomMangaManager.MangaJson(manga.id!!))
|
||||
asyncUpdateMangaAndChapters(true)
|
||||
scope.launchIO {
|
||||
coverCache.deleteFromCache(manga)
|
||||
customMangaManager.saveMangaInfo(CustomMangaManager.MangaJson(manga.id!!))
|
||||
downloadManager.deleteManga(manga, source)
|
||||
asyncUpdateMangaAndChapters(true)
|
||||
}
|
||||
}
|
||||
|
||||
fun setFavorite(favorite: Boolean) {
|
||||
|
Loading…
Reference in New Issue
Block a user