Albirew/tachiyomi
Archivé
1
0
Bifurcation 0

Fix duplicate entries in source migration. Closes #1190

Cette révision appartient à :
inorichi 2018-02-17 19:06:15 +01:00
Parent 40b222f8bc
révision d75c6b0c36

Voir le fichier

@ -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()
}
}
}
}