From bac205ef84ef6b41c663327903b7d221ca4c4e9c Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Wed, 23 Oct 2019 11:56:36 -0500 Subject: [PATCH] Tweak the vibrancy icon transition animation --- iOS/MasterFeed/Cell/MasterFeedTableViewCell.swift | 2 +- iOS/Settings/SettingsAccountTableViewCell.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iOS/MasterFeed/Cell/MasterFeedTableViewCell.swift b/iOS/MasterFeed/Cell/MasterFeedTableViewCell.swift index d128d93f4..5dc3e3c3f 100644 --- a/iOS/MasterFeed/Cell/MasterFeedTableViewCell.swift +++ b/iOS/MasterFeed/Cell/MasterFeedTableViewCell.swift @@ -198,7 +198,7 @@ private extension MasterFeedTableViewCell { func updateVibrancy(animated: Bool) { let tintColor = isHighlighted || isSelected ? AppAssets.vibrantTextColor : AppAssets.secondaryAccentColor - let duration = animated ? 0.5 : 0.0 + let duration = animated ? 0.6 : 0.0 UIView.animate(withDuration: duration) { self.disclosureButton?.tintColor = tintColor self.faviconImageView.tintColor = tintColor diff --git a/iOS/Settings/SettingsAccountTableViewCell.swift b/iOS/Settings/SettingsAccountTableViewCell.swift index 94b3478ac..0ae9a6ec2 100644 --- a/iOS/Settings/SettingsAccountTableViewCell.swift +++ b/iOS/Settings/SettingsAccountTableViewCell.swift @@ -30,7 +30,7 @@ class SettingsAccountTableViewCell: VibrantTableViewCell { func updateVibrancy(animated: Bool) { let tintColor = isHighlighted || isSelected ? AppAssets.vibrantTextColor : UIColor.label - let duration = animated ? 0.5 : 0.0 + let duration = animated ? 0.6 : 0.0 UIView.animate(withDuration: duration) { self.accountImage?.tintColor = tintColor }