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
@@ -71,7 +71,7 @@ private extension PollHistoryViewModel {
break
case .failure:
polls = polls ?? []
self.completion?(.genericError)
state.bindings.alertInfo = .init(id: true, title: VectorL10n.pollHistoryFetchingError)
}
updateViewState()