Fix warning about ForEach.

This commit is contained in:
Brent Simmons 2024-11-01 20:58:18 -07:00
parent 3a87af50ff
commit 3fa775f5af

View File

@ -222,7 +222,7 @@ struct AddAccountsView: View {
.padding(.top, 8)
HStack {
ForEach(0..<chunkedWebAccounts().count, content: { chunk in
ForEach(0..<chunkedWebAccounts().count, id: \.self, content: { chunk in
VStack {
Picker(selection: $selectedAccount, label: Text(""), content: {
ForEach(chunkedWebAccounts()[chunk], id: \.self, content: { account in