mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 07:11:52 +01:00
Fix duplicate entries in source migration. Closes #1190
This commit is contained in:
parent
40b222f8bc
commit
d75c6b0c36
@ -37,7 +37,7 @@ class MigrationPresenter(
|
|||||||
override fun onCreate(savedState: Bundle?) {
|
override fun onCreate(savedState: Bundle?) {
|
||||||
super.onCreate(savedState)
|
super.onCreate(savedState)
|
||||||
|
|
||||||
db.getLibraryMangas()
|
db.getFavoriteMangas()
|
||||||
.asRxObservable()
|
.asRxObservable()
|
||||||
.observeOn(AndroidSchedulers.mainThread())
|
.observeOn(AndroidSchedulers.mainThread())
|
||||||
.doOnNext { state = state.copy(sourcesWithManga = findSourcesWithManga(it)) }
|
.doOnNext { state = state.copy(sourcesWithManga = findSourcesWithManga(it)) }
|
||||||
|
Loading…
Reference in New Issue
Block a user