Change disclosure image to be a filled triangle. Issue #1175
This commit is contained in:
parent
bdd085345b
commit
74c9290e6a
|
@ -65,12 +65,8 @@ struct AppAssets {
|
|||
return UIImage(systemName: "circle")!
|
||||
}()
|
||||
|
||||
static var chevronSmallImage: UIImage = {
|
||||
return UIImage(named: "chevronSmall")!
|
||||
}()
|
||||
|
||||
static var chevronBaseImage: UIImage = {
|
||||
return UIImage(named: "chevronBase")!
|
||||
static var disclosureImage: UIImage = {
|
||||
return UIImage(named: "disclosure")!
|
||||
}()
|
||||
|
||||
static var copyImage: UIImage = {
|
||||
|
|
|
@ -178,7 +178,7 @@ private extension MasterFeedTableViewCell {
|
|||
func addDisclosureView() {
|
||||
disclosureButton = NonIntrinsicButton(type: .roundedRect)
|
||||
disclosureButton!.addTarget(self, action: #selector(buttonPressed(_:)), for: UIControl.Event.touchUpInside)
|
||||
disclosureButton?.setImage(AppAssets.chevronBaseImage, for: .normal)
|
||||
disclosureButton?.setImage(AppAssets.disclosureImage, for: .normal)
|
||||
addSubviewAtInit(disclosureButton!)
|
||||
}
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ class MasterFeedTableViewSectionHeader: UITableViewHeaderFooterView {
|
|||
private var disclosureView: UIImageView = {
|
||||
let iView = NonIntrinsicImageView()
|
||||
iView.tintColor = UIColor.tertiaryLabel
|
||||
iView.image = AppAssets.chevronSmallImage
|
||||
iView.image = AppAssets.disclosureImage
|
||||
iView.contentMode = .center
|
||||
return iView
|
||||
}()
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "chevron-small.pdf"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
},
|
||||
"properties" : {
|
||||
"template-rendering-intent" : "template"
|
||||
}
|
||||
}
|
Binary file not shown.
|
@ -2,7 +2,7 @@
|
|||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "chevron-base.pdf"
|
||||
"filename" : "disclosure.pdf"
|
||||
}
|
||||
],
|
||||
"info" : {
|
Binary file not shown.
Loading…
Reference in New Issue