fix: 换源界面

pull/95/head
kunfei 5 years ago
parent 16ddb2f642
commit 9aa443f70d
  1. 3
      app/src/main/java/io/legado/app/ui/changesource/ChangeSourceViewModel.kt

@ -52,8 +52,7 @@ class ChangeSourceViewModel(application: Application) : BaseViewModel(applicatio
private fun upAdapter() {
execute {
val books = searchBooks.toList()
books.sortedBy { it.originOrder }
searchBooksLiveData.postValue(books)
searchBooksLiveData.postValue(books.sortedBy { it.originOrder })
}
}

Loading…
Cancel
Save