Эх сурвалжийг харах

Fix manga being reinitialized in browse

Co-authored-by: jobobby04 <[email protected]>
arkon 2 жил өмнө
parent
commit
4ea512f6c2

+ 1 - 1
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 {