mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Tweak the vibrancy icon transition animation
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user