Use correct selected color for disclosure button

This commit is contained in:
Maurice Parker 2019-09-26 20:48:18 -05:00
parent c33cd8f988
commit 2f04ffd5ed
1 changed files with 2 additions and 0 deletions

View File

@ -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
}