Lists with sections broken on macOS Big Sur apps

Hi,

All the Lists I was developed in my app that was using Sections appears totally broken after update my project to Xcode 12 and macOS Big Sur for macOS apps.

Code Block
struct ContentView: View {
    var body: some View {
        List {
            Section(header: Text("Important tasks")) {
                Text("Helloworld1")
                Text("Helloworld2")
            }
            Section(header: Text("Other tasks")) {
                Text("Helloworld3")
                Text("Helloworld4")
            }
        }
    }
}

This code works fine on iOS projects, but not in macOS projects. In macOS the section contents doesn't appear neither the preview nor app execution.

Could be a bug or I'm missing something building sectioned lists?

Thanks in advance.
Please file a feedback report if you already haven't; your declaration is correct so this is just a bug in beta 1. Thank you!
Feedback sent!

Code: FB7808542
The bug continues in Xcode beta 2 and Big Sur beta 2...
I have also reported a feedback related to this FB7864958.
Thanks @espen. I hope a fix soon :/
Solved!
Lists with sections broken on macOS Big Sur apps
 
 
Q