For #8981 - Sort devices in share list by last access time
This commit is contained in:
parent
c8d8a700fe
commit
9ec1f8e2d8
|
@ -184,6 +184,7 @@ class ShareViewModel(application: Application) : AndroidViewModel(application) {
|
|||
?.otherDevices
|
||||
.orEmpty()
|
||||
.filter { it.capabilities.contains(DeviceCapability.SEND_TAB) }
|
||||
.sortedByDescending { it.lastAccessTime }
|
||||
|
||||
val list = mutableListOf<SyncShareOption>()
|
||||
if (shareableDevices.isEmpty()) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user