This code which works fine on macOS Sonoma but on Sequoia the navigationLinks do not work?
VStack {
Text("Application Global Values")
.font(.largeTitle)
.fontWeight(.bold)
.padding(.bottom, 10)
Text("Select each of the Descriptors, enter the values and when done then Tap on (Add/Save)")
.font(.title3)
.foregroundColor(.secondary)
List {
NavigationLink("Enter Core Descriptors", destination: CoreView(systemSettings: $systemSettings))
.padding() // Add padding to create some space inside the border
// .background(Color.white) // Optional: Add a background color if needed
// .border(Color.red, width: 2) // Add a red border with a specified thickness
.overlay(
RoundedRectangle(cornerRadius: 10) // Specify the corner radius for rounded corners
.stroke(Color.red, lineWidth: 2) // Define the color and thickness of the border
)
SetupDivider(thickness: 3)
NavigationLink("Enter Counters Descriptors", destination: CountersView(systemSettings: $systemSettings))
.padding()
// .background(Color.white)
.overlay(
RoundedRectangle(cornerRadius: 10) // Specify the corner radius for rounded corners
.stroke(Color.red, lineWidth: 2) // Define the color and thickness of the border
)
SetupDivider(thickness: 3)
NavigationLink("Create Custom Descriptors", destination: UserFieldsView(userFields: $userFields))
.padding()
// .background(Color.white)
.overlay(
RoundedRectangle(cornerRadius: 10) // Specify the corner radius for rounded corners
.stroke(Color.red, lineWidth: 2) // Define the color and thickness of the border
)
SetupDivider(thickness: 3)
NavigationLink("View All Descriptors", destination: DefaultDetailView(userFields: $userFields, systemSettings: $systemSettings))
.padding()
// .background(Color.white)
.overlay(
RoundedRectangle(cornerRadius: 10) // Specify the corner radius for rounded corners
.stroke(Color.red, lineWidth: 2) // Define the color and thickness of the border
)
SetupDivider(thickness: 3)
}