mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-10 01:35:09 +01:00
Sort list of sources in migration alphabetically
This commit is contained in:
parent
42e299366a
commit
3827993a94
@ -64,6 +64,7 @@ class MigrationPresenter(
|
|||||||
val header = SelectionHeader()
|
val header = SelectionHeader()
|
||||||
return library.map { it.source }.toSet()
|
return library.map { it.source }.toSet()
|
||||||
.mapNotNull { if (it != LocalSource.ID) sourceManager.getOrStub(it) else null }
|
.mapNotNull { if (it != LocalSource.ID) sourceManager.getOrStub(it) else null }
|
||||||
|
.sortedBy { it.name }
|
||||||
.map { SourceItem(it, header) }
|
.map { SourceItem(it, header) }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user