Using scope for updating library ui during global update

since removing it from the scope broke it
This commit is contained in:
Jay 2020-05-15 03:54:06 -04:00
parent c9e3882077
commit d99f4d1fac

View File

@ -651,7 +651,9 @@ 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) {
getLibrary() scope.launch {
getLibrary()
}
} }
/** Undo the removal of the manga once in library */ /** Undo the removal of the manga once in library */