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
@@ -32,7 +32,7 @@ public struct MainView: View {
.onAppear {
viewModel.onAppear(environments: environments)
}
.alertBinding($viewModel.alert)
.alert($viewModel.alert)
.toolbar {
ToolbarItem(placement: .navigation) {
StartStopButton()