Suggestion for SwiftUI tutorials, fix button action in List

https://developer.apple.com/tutorials/swiftui/working-with-ui-controls

Button action in List causes event bubbling error.

I tried fix it: https://github.com/rushairer/MySwiftApp/commit/8d9578f07a4e55d061f779f44bf20d113f642bd5



Using 'onTapGesture' instead of Button

Suggestion for SwiftUI tutorials, fix button action in List
 
 
Q