mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-08-08 13:22:13 +02:00
Fixing order of relays when using default ones
This commit is contained in:
@@ -60,7 +60,7 @@ class NewRelayListViewModel: ViewModel() {
|
||||
val eventUploadCounter = liveRelay?.eventUploadCounter ?: 0
|
||||
|
||||
Relay(it.url, it.read, it.write, errorCounter, eventDownloadCounter, eventUploadCounter)
|
||||
}
|
||||
}.sortedBy { it.downloadCount }.reversed()
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user