From 4ea512f6c22b76d1d0e3f777a7b15fd675f2eb97 Mon Sep 17 00:00:00 2001 From: arkon Date: Thu, 15 Sep 2022 22:55:20 -0400 Subject: [PATCH] Fix manga being reinitialized in browse Co-authored-by: jobobby04 --- .../tachiyomi/ui/browse/source/browse/BrowseSourcePresenter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourcePresenter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourcePresenter.kt index 04e7eddeb..e53bd9148 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourcePresenter.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourcePresenter.kt @@ -205,7 +205,7 @@ open class BrowseSourcePresenter( * @param manga to initialize. */ private suspend fun initializeManga(manga: DomainManga) { - if (manga.thumbnailUrl != null && manga.initialized) return + if (manga.thumbnailUrl != null || manga.initialized) return withContext(NonCancellable) { val db = manga.toDbManga() try {