@ -120,8 +120,12 @@ data class SearchScope(private var scope: String) {
}
if (list.isEmpty()) {
scope = ""
stateLiveData.postValue(scope)
appDb.bookSourceDao.allEnabled.let {
return appDb.bookSourceDao.allEnabled
if (it.isNotEmpty()) {
list.addAll(it)
return list.sortedBy { it.customOrder }