Update table view
This commit is contained in:
parent
176067800c
commit
459564ae6b
|
@ -67,6 +67,21 @@ extension StatusTableViewCell {
|
|||
}
|
||||
}
|
||||
.store(in: &disposeBag)
|
||||
|
||||
statusView.viewModel.$card
|
||||
.removeDuplicates()
|
||||
.dropFirst()
|
||||
.receive(on: DispatchQueue.main)
|
||||
.sink { [weak tableView, weak self] _ in
|
||||
guard let tableView = tableView else { return }
|
||||
guard let _ = self else { return }
|
||||
|
||||
UIView.performWithoutAnimation {
|
||||
tableView.beginUpdates()
|
||||
tableView.endUpdates()
|
||||
}
|
||||
}
|
||||
.store(in: &disposeBag)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue