mirror of
https://github.com/maxgoedjen/secretive.git
synced 2024-11-22 05:27:28 +00:00
Added sorting to secret list
This commit is contained in:
parent
d82bb80e14
commit
c98651a42d
@ -25,7 +25,7 @@ struct StoreListView: View {
|
||||
if store.secrets.isEmpty {
|
||||
EmptyStoreView(store: store, activeSecret: $activeSecret)
|
||||
} else {
|
||||
ForEach(store.secrets) { secret in
|
||||
ForEach(store.secrets.sorted(by: { $0.name < $1.name })) { secret in
|
||||
SecretListItemView(
|
||||
store: store,
|
||||
secret: secret,
|
||||
|
Loading…
Reference in New Issue
Block a user