Code History: Ignoring Safe Area modifier flags error?

Hey everyone,

Working my way through the SwiftUI Views path and I’ve copied the code from the Codecademy instructions exactly but I’m getting build errors on Swift.

Anybody know what’s gone wrong??

var body: some View {
        ZStack {
            mainColor.edgesIgnoringSafeArea([.all])

This seems to have worked??