mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Improve PollListItem to support ended polls
This commit is contained in:
@@ -33,7 +33,7 @@ struct PollHistoryViewBindings {
|
||||
|
||||
struct PollHistoryViewState: BindableState {
|
||||
init(mode: PollHistoryMode) {
|
||||
self.bindings = .init(mode: mode)
|
||||
bindings = .init(mode: mode)
|
||||
}
|
||||
|
||||
var bindings: PollHistoryViewBindings
|
||||
@@ -42,4 +42,5 @@ struct PollHistoryViewState: BindableState {
|
||||
|
||||
enum PollHistoryViewAction {
|
||||
case viewAppeared
|
||||
case segmentDidChange
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user