From f4961bdc42a479108baf220ec4cdeec622ef4dda Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sat, 13 Nov 2021 10:35:20 -0600 Subject: [PATCH] Increase the animation duration to reduce unread count flickering --- iOS/MasterFeed/MasterFeedViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iOS/MasterFeed/MasterFeedViewController.swift b/iOS/MasterFeed/MasterFeedViewController.swift index 309268973..23d257960 100644 --- a/iOS/MasterFeed/MasterFeedViewController.swift +++ b/iOS/MasterFeed/MasterFeedViewController.swift @@ -121,7 +121,7 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner { } 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) } restoreSelectionIfNecessary(adjustScroll: false)