import SwiftUI
struct FolderView: View {
var body: some View {
NavigationView{
VStack{
HStack{
Text("hi")
}
.frame(height : 50)
.frame(maxWidth : .infinity)
.background(.blue)
List {
Text("hi")
}
}
.navigationTitle("Task Folders 📁")
}
}
}
struct FolderView_Previews: PreviewProvider {
static var previews: some View {
FolderView()
}
}
Hi! I tried to use Hstack container in NavigationView with List, But as you can see in my attached screenshot, it is working like that, I mean the container is mixed with navigationView Area.
Is there a some way that I can solve? How I can use that with List? Thank you!

