FocusValues doesn't work properly because of PlainButtonStyle()

In the sample project from SwiftUI Tutorial - Creating a macOS App, when you toggle the favorite button on landmark detail view (macOS version), the Landmark command is disabled because \.selectedLandmark on FocusValues is somehow reset to nil by PlainButtonStyle().

Tested with BorderedButtonStyle() and didn't find the problem.



FocusValues doesn't work properly because of PlainButtonStyle()
 
 
Q