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
1 changed files with 3 additions and 1 deletions
|
@ -651,7 +651,9 @@ class LibraryPresenter(
|
|||
|
||||
/** Called when Library Service updates a manga, update the item as well */
|
||||
fun updateManga(manga: LibraryManga) {
|
||||
getLibrary()
|
||||
scope.launch {
|
||||
getLibrary()
|
||||
}
|
||||
}
|
||||
|
||||
/** Undo the removal of the manga once in library */
|
||||
|
|
Reference in a new issue