mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-02 12:06:58 +01:00
Add fade in fade out animation for Account unread counts. Issue #1228
This commit is contained in:
parent
47293cc073
commit
6b2de18557
@ -156,9 +156,13 @@ private extension MasterFeedTableViewSectionHeader {
|
||||
|
||||
func updateUnreadCountView() {
|
||||
if !disclosureExpanded && unreadCount > 0 {
|
||||
unreadCountView.isHidden = false
|
||||
UIView.animate(withDuration: 0.3) {
|
||||
self.unreadCountView.alpha = 1
|
||||
}
|
||||
} else {
|
||||
self.unreadCountView.isHidden = true
|
||||
UIView.animate(withDuration: 0.3) {
|
||||
self.unreadCountView.alpha = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user