mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-02 02:22:25 +00:00
Tweak the vibrancy icon transition animation
This commit is contained in:
1 parent
eea450bee3
commit
bac205ef84
2 files changed
+2
-2
No files matched your search
@@ -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