this seemed to work somehow.
.onTapGesture {
selectedMeal=meal
}
.onChange(of: selectedMeal) { newValue in
if newValue != nil {
isShowingMealForm = true
}
}
Post
Replies
Boosts
Views
Activity
Thanks. I ended up using destination links as a workaround instead. Would still be curious to know why it doesn't work :)
Same issue. Xcode 15.3. Watch OS 10.4 :(