Change Views

I currently have the code below that I want to change views but it will not change to the GoalView()

NavigationLink(destination: GoalView()) {

                Button("Next \(Image(systemName: "chevron.forward"))") {

                }
            }
            .padding(.bottom, 30)
            .foregroundColor(.green)
Answered by reece_a in 709611022

I have solved it!

Accepted Answer

I have solved it!

Change Views
 
 
Q