From d99f4d1faceb74e474e6187b96c66ac8890ace9e Mon Sep 17 00:00:00 2001 From: Jay Date: Fri, 15 May 2020 03:54:06 -0400 Subject: [PATCH] Using scope for updating library ui during global update since removing it from the scope broke it --- .../java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt index c199fc3c92..9269204fe4 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt @@ -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 */