Consistent tinting

This commit is contained in:
Stuart Breckenridge
2022-01-24 06:20:59 +08:00
parent f66146e9bc
commit b84f79a22f
2 changed files with 2 additions and 2 deletions

View File

@@ -207,7 +207,7 @@ private extension MasterFeedTableViewCell {
disclosureButton = NonIntrinsicButton(type: .roundedRect)
disclosureButton!.addTarget(self, action: #selector(buttonPressed(_:)), for: UIControl.Event.touchUpInside)
disclosureButton?.setImage(AppAssets.disclosureImage(size: 16, weight: .regular), for: .normal)
disclosureButton?.tintColor = AppAssets.controlBackgroundColor
disclosureButton?.tintColor = AppAssets.secondaryAccentColor
disclosureButton?.imageView?.contentMode = .center
disclosureButton?.imageView?.clipsToBounds = false
disclosureButton?.addInteraction(UIPointerInteraction())

View File

@@ -85,7 +85,7 @@ class MasterFeedTableViewSectionHeader: UITableViewHeaderFooterView {
private lazy var disclosureButton: UIButton = {
let button = NonIntrinsicButton()
button.tintColor = AppAssets.primaryAccentColor
button.tintColor = AppAssets.secondaryAccentColor
button.setImage(AppAssets.disclosureImage(size: 14, weight: .bold), for: .normal)
button.contentMode = .center
button.addInteraction(UIPointerInteraction())