Increase the animation duration to reduce unread count flickering
This commit is contained in:
parent
e2f3d1867d
commit
f4961bdc42
|
@ -121,7 +121,7 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner {
|
||||||
}
|
}
|
||||||
|
|
||||||
guard let unreadCountNode = node, let indexPath = coordinator.indexPathFor(unreadCountNode) else { return }
|
guard let unreadCountNode = node, let indexPath = coordinator.indexPathFor(unreadCountNode) else { return }
|
||||||
UIView.animate(withDuration: 0.1) {
|
UIView.animate(withDuration: 0.3) {
|
||||||
self.tableView.reloadRows(at: [indexPath], with: .none)
|
self.tableView.reloadRows(at: [indexPath], with: .none)
|
||||||
}
|
}
|
||||||
restoreSelectionIfNecessary(adjustScroll: false)
|
restoreSelectionIfNecessary(adjustScroll: false)
|
||||||
|
|
Loading…
Reference in New Issue