Refactor Alerts

This commit is contained in:
世界
2025-12-01 18:22:06 +08:00
parent 8e764c56eb
commit 4ddfcdb324
40 changed files with 324 additions and 224 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ struct EditProfileContentWindow: View {
} message: {
Text("Do you want to save the changes you made?")
}
.alertBinding($viewModel.alert)
.alert($viewModel.alert)
.navigationTitle(navigationTitle)
.toolbar {
ToolbarItemGroup(placement: .navigation) {