mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
added poll detail scene with mock data
This commit is contained in:
@@ -62,6 +62,9 @@ struct PollHistory: View {
|
||||
LazyVStack(spacing: 32) {
|
||||
ForEach(viewModel.viewState.polls ?? []) { pollData in
|
||||
PollListItem(pollData: pollData)
|
||||
.onTapGesture {
|
||||
viewModel.send(viewAction: .showPollDetail(poll: pollData))
|
||||
}
|
||||
}
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user