mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-29 03:21:02 +00:00
Ensure main thread
This commit is contained in:
parent
11f5a3a914
commit
d8bd825788
1 changed files with 1 additions and 0 deletions
|
@ -250,6 +250,7 @@ extension CollectionItemsViewModel: CollectionViewModel {
|
||||||
.sink { _ in }
|
.sink { _ in }
|
||||||
.store(in: &requestCancellables)
|
.store(in: &requestCancellables)
|
||||||
collectionService.requestMarkerLastReadId()
|
collectionService.requestMarkerLastReadId()
|
||||||
|
.receive(on: DispatchQueue.main)
|
||||||
.sink { _ in } receiveValue: { [weak self] in self?.markerLastReadId = $0 }
|
.sink { _ in } receiveValue: { [weak self] in self?.markerLastReadId = $0 }
|
||||||
.store(in: &cancellables)
|
.store(in: &cancellables)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue