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)
}
}