Kindly help, I have a view that uses a CustomView. In Custom view there are 2 lists in vertical Stack, the issue here is there's always a space between 2 lists even when using Spacer?
struct CustomView: View {
var body: some View{
VStack(spacing:0) {
List(0..<2){ item in
TestView()
}
List(0..<2){ item in
TestView()
}
}
.background(Color.blue)
}
struct TestView: View {
var body: some View {
Text("Hello, World!")
.padding()
.padding()
}
}