Make chevron disclosure button look better in dark mode
This commit is contained in:
parent
2f04ffd5ed
commit
25fa5e0167
@ -48,10 +48,6 @@ struct AppAssets {
|
||||
return UIImage(systemName: "circle")!
|
||||
}()
|
||||
|
||||
static var sectionChevronDisclosureColor: UIColor = {
|
||||
return UIColor(named: "sectionChevronDisclosureColor")!
|
||||
}()
|
||||
|
||||
static var chevronDownImage: UIImage = {
|
||||
return UIImage(systemName: "chevron.down")!
|
||||
}()
|
||||
|
@ -131,7 +131,7 @@ private extension MasterFeedTableViewSectionHeader {
|
||||
}
|
||||
|
||||
func updateDisclosureImage() {
|
||||
disclosureView.tintColor = AppAssets.sectionChevronDisclosureColor
|
||||
disclosureView.tintColor = UIColor.tertiaryLabel
|
||||
if disclosureExpanded {
|
||||
disclosureView.image = AppAssets.chevronDownImage
|
||||
} else {
|
||||
|
@ -1,20 +0,0 @@
|
||||
{
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
},
|
||||
"colors" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"color" : {
|
||||
"color-space" : "srgb",
|
||||
"components" : {
|
||||
"red" : "200",
|
||||
"alpha" : "1.000",
|
||||
"blue" : "200",
|
||||
"green" : "200"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user