Merge pull request #470 from chickdan/fix_missing_platform_list_alert

Handle preference alerts from the PlatformsListView
This commit is contained in:
Matt Kiazyk 2024-01-19 12:58:44 -06:00 committed by GitHub
commit 0dc13d8eee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -81,6 +81,9 @@ struct XcodesApp: App {
Window("Platforms", id: "platforms") {
PlatformsListView()
.environmentObject(appState)
.alert(item: $appState.presentedPreferenceAlert, content: { presentedAlert in
alert(for: presentedAlert)
})
}
#endif
}