mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-25 09:41:02 +00:00
Sort lists alphabetically in ListAddAccountView (#943)
This commit is contained in:
parent
5436e8d3f9
commit
159bd74566
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ public struct ListAddAccountView: View {
|
|||
public var body: some View {
|
||||
NavigationStack {
|
||||
List {
|
||||
ForEach(currentAccount.lists) { list in
|
||||
ForEach(currentAccount.sortedLists) { list in
|
||||
HStack {
|
||||
Toggle(list.title, isOn: .init(get: {
|
||||
viewModel.inLists.contains(where: { $0.id == list.id })
|
||||
|
|
Loading…
Reference in a new issue