mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Refine loading logic
This commit is contained in:
@@ -32,9 +32,10 @@ final class MockPollHistoryService: PollHistoryServiceProtocol {
|
||||
polls.send(poll)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
var fetchState: Bool = false
|
||||
var isFetching: AnyPublisher<Bool, Never> {
|
||||
Just(false).eraseToAnyPublisher()
|
||||
Just(fetchState).eraseToAnyPublisher()
|
||||
}
|
||||
|
||||
var activePollsData: [TimelinePollDetails] = (1..<10)
|
||||
|
||||
Reference in New Issue
Block a user