fix: user timeline duplicate snapshot update issue
This commit is contained in:
parent
ab19323bcd
commit
0366c83666
|
@ -62,10 +62,10 @@ final class UserTimelineViewModel {
|
|||
.store(in: &disposeBag)
|
||||
|
||||
Publishers.CombineLatest4(
|
||||
statusFetchedResultsController.objectIDs.eraseToAnyPublisher(),
|
||||
isBlocking.eraseToAnyPublisher(),
|
||||
isBlockedBy.eraseToAnyPublisher(),
|
||||
isSuspended.eraseToAnyPublisher()
|
||||
statusFetchedResultsController.objectIDs.removeDuplicates(),
|
||||
isBlocking,
|
||||
isBlockedBy,
|
||||
isSuspended
|
||||
)
|
||||
.receive(on: DispatchQueue.main)
|
||||
.debounce(for: .milliseconds(300), scheduler: DispatchQueue.main)
|
||||
|
|
Loading…
Reference in New Issue