mirror of
https://github.com/bitwarden/android.git
synced 2025-02-16 11:59:57 +03:00
[PM-9927] Sort Sends alphabetically (#3665)
This commit is contained in:
parent
31bf696e7e
commit
7f13822f15
2 changed files with 2 additions and 3 deletions
|
@ -46,7 +46,6 @@ private fun List<SendView>.toSendContent(
|
|||
shareUrl = sendView.toSendUrl(baseWebSendUrl),
|
||||
hasPassword = sendView.hasPassword,
|
||||
)
|
||||
}
|
||||
.sortedBy { it.name },
|
||||
},
|
||||
)
|
||||
}
|
||||
|
|
|
@ -55,8 +55,8 @@ class SendDataExtensionsTest {
|
|||
val textSendView = createMockSendView(number = 2, type = SendType.TEXT)
|
||||
val fileSendView = createMockSendView(number = 1, type = SendType.FILE)
|
||||
val list = listOf(
|
||||
textSendView,
|
||||
fileSendView,
|
||||
textSendView,
|
||||
)
|
||||
val textSendViewUrl1 = "www.test.com/#/send/mockAccessId-1/mockKey-1"
|
||||
val textSendViewUrl2 = "www.test.com/#/send/mockAccessId-2/mockKey-2"
|
||||
|
|
Loading…
Add table
Reference in a new issue