Make chevron disclosure button look better in dark mode

This commit is contained in:
Maurice Parker 2019-09-26 20:54:46 -05:00
parent 2f04ffd5ed
commit 25fa5e0167
3 changed files with 1 additions and 25 deletions

View File

@ -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")!
}()

View File

@ -131,7 +131,7 @@ private extension MasterFeedTableViewSectionHeader {
}
func updateDisclosureImage() {
disclosureView.tintColor = AppAssets.sectionChevronDisclosureColor
disclosureView.tintColor = UIColor.tertiaryLabel
if disclosureExpanded {
disclosureView.image = AppAssets.chevronDownImage
} else {

View File

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