added poll detail scene with mock data

This commit is contained in:
Flavio Alescio
2023-01-19 15:42:45 +01:00
parent da17249200
commit 84e8d879bd
14 changed files with 804 additions and 5 deletions
@@ -20,8 +20,8 @@ enum PollHistoryConstants {
static let chunkSizeInDays: UInt = 30
}
enum PollHistoryViewModelResult: Equatable {
#warning("e.g. show poll detail")
enum PollHistoryViewModelResult {
case showPollDetail(poll: PollListData)
}
// MARK: View
@@ -49,4 +49,5 @@ struct PollHistoryViewState: BindableState {
enum PollHistoryViewAction {
case viewAppeared
case segmentDidChange
case showPollDetail(poll: PollListData)
}