mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-25 08:55:46 +00:00
Handle preference alerts from the PlatformsListView
This commit is contained in:
parent
2184c872d3
commit
4d95a270ae
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue