mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 06:17:57 +01:00 
			
		
		
		
	Fix duplicate entries in source migration. Closes #1190
This commit is contained in:
		| @@ -37,7 +37,7 @@ class MigrationPresenter( | ||||
|     override fun onCreate(savedState: Bundle?) { | ||||
|         super.onCreate(savedState) | ||||
|  | ||||
|         db.getLibraryMangas() | ||||
|         db.getFavoriteMangas() | ||||
|                 .asRxObservable() | ||||
|                 .observeOn(AndroidSchedulers.mainThread()) | ||||
|                 .doOnNext { state = state.copy(sourcesWithManga = findSourcesWithManga(it)) } | ||||
| @@ -148,4 +148,4 @@ class MigrationPresenter( | ||||
|             db.updateMangaFavorite(manga).executeAsBlocking() | ||||
|         } | ||||
|     } | ||||
| } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user