Refactor Alerts
This commit is contained in:
@@ -32,7 +32,7 @@ public struct MainView: View {
|
||||
.onAppear {
|
||||
viewModel.onAppear(environments: environments)
|
||||
}
|
||||
.alertBinding($viewModel.alert)
|
||||
.alert($viewModel.alert)
|
||||
.toolbar {
|
||||
ToolbarItem(placement: .navigation) {
|
||||
StartStopButton()
|
||||
|
||||
Reference in New Issue
Block a user