Add empty screen with number of days

This commit is contained in:
Alfonso Grillo
2023-01-20 16:42:37 +01:00
parent 84accd2470
commit 69726de367
7 changed files with 62 additions and 24 deletions
@@ -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]?
}