Fix alert presentation

This commit is contained in:
Alfonso Grillo
2023-01-26 14:52:33 +01:00
parent 2f030b0811
commit a83075f2f3
5 changed files with 10 additions and 28 deletions
@@ -44,6 +44,9 @@ struct PollHistory: View {
.onChange(of: viewModel.mode) { _ in
viewModel.send(viewAction: .segmentDidChange)
}
.alert(item: $viewModel.alertInfo) {
$0.alert
}
}
@ViewBuilder