mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-23 13:28:50 +01:00
Sort lists alphabetically in ListAddAccountView (#943)
This commit is contained in:
parent
5436e8d3f9
commit
159bd74566
@ -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 New Issue
Block a user