mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Consistent tinting
This commit is contained in:
@@ -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())
|
||||
|
||||
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user