Post
What's the problem and why does this work? You'll notice that some view modifiers in SwiftUI like .background or .foreground are expecting you to pass it a type that conforms to the protocol ShapeStyle. So you can't just toggle between Material and Color because while they are two different types
0 reposts1 like