Fix watch face selector drop down order

This commit is contained in:
MM20 2023-10-13 14:05:33 +02:00
parent f57cb71b9b
commit 0692d3f3db
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -217,7 +217,7 @@ fun WatchFaceSelector(
expanded = showStyleDropdown, expanded = showStyleDropdown,
onDismissRequest = { showStyleDropdown = false } onDismissRequest = { showStyleDropdown = false }
) { ) {
for (style in styles.entries.distinctBy { it.value }) { for (style in styles.entries.distinctBy { it.value }.sortedBy { it.value }) {
DropdownMenuItem( DropdownMenuItem(
onClick = { onClick = {
scope.launch { scope.launch {