mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 18:51:51 +01:00
Using scope for updating library ui during global update
since removing it from the scope broke it
This commit is contained in:
parent
c9e3882077
commit
d99f4d1fac
@ -651,8 +651,10 @@ class LibraryPresenter(
|
|||||||
|
|
||||||
/** Called when Library Service updates a manga, update the item as well */
|
/** Called when Library Service updates a manga, update the item as well */
|
||||||
fun updateManga(manga: LibraryManga) {
|
fun updateManga(manga: LibraryManga) {
|
||||||
|
scope.launch {
|
||||||
getLibrary()
|
getLibrary()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/** Undo the removal of the manga once in library */
|
/** Undo the removal of the manga once in library */
|
||||||
fun reAddMangas(mangas: List<Manga>) {
|
fun reAddMangas(mangas: List<Manga>) {
|
||||||
|
Loading…
Reference in New Issue
Block a user