mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Add empty screen with number of days
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
|
||||
// MARK: View model
|
||||
|
||||
enum PollHistoryConstants {
|
||||
static let chunkSizeInDays: UInt = 30
|
||||
}
|
||||
|
||||
enum PollHistoryViewModelResult: Equatable {
|
||||
#warning("e.g. show poll detail")
|
||||
}
|
||||
@@ -38,6 +42,7 @@ struct PollHistoryViewState: BindableState {
|
||||
|
||||
var bindings: PollHistoryViewBindings
|
||||
var isLoading = false
|
||||
var canLoadMoreContent = true
|
||||
var polls: [TimelinePollDetails]?
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user