Using scope for updating library ui during global update

since removing it from the scope broke it
pull/3372/head
Jay 4 years ago
parent c9e3882077
commit d99f4d1fac

@ -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 */

Loading…
Cancel
Save