Increase the animation duration to reduce unread count flickering

This commit is contained in:
Maurice Parker 2021-11-13 10:35:20 -06:00
parent e2f3d1867d
commit f4961bdc42
1 changed files with 1 additions and 1 deletions

View File

@ -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)