Post marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliessolved.tooltip
For those in the same situation, I've just figured out the answer – replace the property wrapper prefix with a type update in your variable declaration:public struct CoolListRow : View {
var currentStep: Binding<Int>
public var body: some View {
// ...
}
public init(currentStep: Binding<Int>) {
self.currentStep = currentStep
}
}