Tweak the vibrancy icon transition animation

This commit is contained in:
Maurice Parker 2019-10-23 11:56:36 -05:00
parent eea450bee3
commit bac205ef84
2 changed files with 2 additions and 2 deletions

View File

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

View File

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