mirror of
https://github.com/bitwarden/android.git
synced 2026-08-02 02:32:04 -05:00
[PM-9927] Sort Sends alphabetically (#3665)
This commit is contained in:
+1
-2
@@ -46,7 +46,6 @@ private fun List<SendView>.toSendContent(
|
||||
shareUrl = sendView.toSendUrl(baseWebSendUrl),
|
||||
hasPassword = sendView.hasPassword,
|
||||
)
|
||||
}
|
||||
.sortedBy { it.name },
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user