mirror of
https://github.com/metabolist/metatext
synced 2024-12-27 02:02:38 +01:00
Ensure main thread
This commit is contained in:
parent
11f5a3a914
commit
d8bd825788
@ -250,6 +250,7 @@ extension CollectionItemsViewModel: CollectionViewModel {
|
||||
.sink { _ in }
|
||||
.store(in: &requestCancellables)
|
||||
collectionService.requestMarkerLastReadId()
|
||||
.receive(on: DispatchQueue.main)
|
||||
.sink { _ in } receiveValue: { [weak self] in self?.markerLastReadId = $0 }
|
||||
.store(in: &cancellables)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user