SwiftUI List missing separators

I am developing my app and for some reason separators in List disappeared. Here is the code:

       List {
            VStack {
                HStack {
                    Text("Feedback")
                    Spacer()
                    Image(systemName: "chevron.right")
                }.frame(height: 54)
                
                HStack {
                    Text("Settings")
                    Spacer()
                    Image(systemName: "chevron.right")
                }.frame(height: 54)
            }
    }.listStyle(InsetGroupedListStyle())

I tried it on an empty project and still don't see separators. Plz help I need them back.

no stperators



Read more here: https://stackoverflow.com/questions/66266441/swiftui-list-missing-separators

Content Attribution

This content was originally published by Hekes Pekes at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: