I\'ve read a lot here about navigation in SwiftUI and tried a couple of things, but nothing is working as desired.
Basically, I have a view with a list of workouts and y
You can add the navigation link directly to the button like this:
@State var tag:Int? = nil ... NavigationLink(destination: Text("Full List"), tag: 1, selection: $tag) { MyButton(buttonText: "Full list") { self.tag = 1 } }