Skip to content

Commit

Permalink
Merge pull request #470 from chickdan/fix_missing_platform_list_alert
Browse files Browse the repository at this point in the history
Handle preference alerts from the PlatformsListView
  • Loading branch information
MattKiazyk authored Jan 19, 2024
2 parents dede435 + 4d95a27 commit 0dc13d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Xcodes/XcodesApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 0dc13d8

Please sign in to comment.