mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Make unread indicator animatable
This commit is contained in:
@@ -47,7 +47,11 @@ class MasterTimelineTableViewCell: VibrantTableViewCell {
|
||||
updateLabelVibrancy(feedNameView, animated: animated)
|
||||
|
||||
UIView.animate(withDuration: duration(animated: animated)) {
|
||||
self.unreadIndicatorView.isSelected = self.isHighlighted || self.isSelected
|
||||
if self.isHighlighted || self.isSelected {
|
||||
self.unreadIndicatorView.backgroundColor = AppAssets.vibrantTextColor
|
||||
} else {
|
||||
self.unreadIndicatorView.backgroundColor = AppAssets.secondaryAccentColor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user