SwiftUI List section spacing

How to remove the spacing between List plain style section in swiftui iOS 15

struct ContentView: View {
  var body: some View {
    List {
      Section {
        Text("Hello, World!")
        Text("Hello, World!")
        Text("Hello, World!")
      }
      Section {
        Text("Hello, World!")
      }
      Section {
        Text("Hello, World!")
        Text("Hello, World!")
      } header: {
        Text("section")
      }
    }.listStyle(.plain)
  }
}

Replies

Same issue here.

When adding my section headers as views directly under List(), there is no padding with:

.listRowInsets(EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 0))