Albirew/tachiyomi
Archivé
1
0
Bifurcation 0

Fix manga being reinitialized in browse

Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
Cette révision appartient à :
arkon 2022-09-15 22:55:20 -04:00
Parent 829aadd0bd
révision 4ea512f6c2

Voir le fichier

@ -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 {