mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-03 12:27:32 +01:00
Use correct selected color for disclosure button
This commit is contained in:
parent
c33cd8f988
commit
2f04ffd5ed
@ -103,6 +103,7 @@ class MasterFeedTableViewCell : NNWTableViewCell {
|
||||
super.setHighlighted(highlighted, animated: animated)
|
||||
|
||||
let tintColor = isHighlighted || isSelected ? AppAssets.tableViewCellHighlightedTextColor : AppAssets.secondaryAccentColor
|
||||
disclosureButton?.tintColor = tintColor
|
||||
faviconImageView.tintColor = tintColor
|
||||
}
|
||||
|
||||
@ -110,6 +111,7 @@ class MasterFeedTableViewCell : NNWTableViewCell {
|
||||
super.setSelected(selected, animated: animated)
|
||||
|
||||
let tintColor = isHighlighted || isSelected ? AppAssets.tableViewCellHighlightedTextColor : AppAssets.secondaryAccentColor
|
||||
disclosureButton?.tintColor = tintColor
|
||||
faviconImageView.tintColor = tintColor
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user