Fix double navigation on workout log row tap
A row tap pushed twice: a value-based navigationDestination(for: String.self) collided with the row's NavigationLink(value:), surfacing a duplicate split list over the hidden exercise detail. Rows now use a destination-based NavigationLink, leaving navigationDestination(item:) as the view's only destination.
This commit is contained in:
@@ -20,3 +20,8 @@ All notable changes to this project are documented here.
|
||||
- Fixed: workout marked complete on creation, an undismissable delete dialog,
|
||||
toolbar buttons hidden by nested navigation stacks, and a placeholder
|
||||
"Settings coming soon" row.
|
||||
- Fixed: tapping an exercise in a workout log pushed the wrong screen (a
|
||||
duplicate of the split list) with the exercise detail hidden underneath — a
|
||||
single row tap was navigating twice. Caused by stacking two
|
||||
`navigationDestination` modifiers on the log list; rows now use a single
|
||||
destination-based link.
|
||||
|
||||
Reference in New Issue
Block a user