mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	Fix manga being reinitialized in browse
Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com>
This commit is contained in:
		@@ -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 {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user