Post

Replies

Boosts

Views

Activity

FocusValues doesn't work properly because of PlainButtonStyle()
In the sample project from SwiftUI Tutorial - Creating a macOS App, - https://developer.apple.com/tutorials/swiftui/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.
0
0
350
Dec ’20