Fix alert presentation

This commit is contained in:
Alfonso Grillo
2023-01-26 14:52:33 +01:00
parent e6625cda4f
commit 7a6e6199e4
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()