Reenable tinting now that at the beta OS releases don't crash when using them

This commit is contained in:
Maurice Parker 2019-08-03 16:34:35 -05:00
parent 02575c31fe
commit 0269683b16

View File

@ -28,14 +28,12 @@ struct AppAssets {
static var chevronDownImage: UIImage = {
let image = UIImage(systemName: "chevron.down")!
return image
// return image.withTintColor(AppAssets.chevronDisclosureColor, renderingMode: .alwaysOriginal)
return image.withTintColor(AppAssets.chevronDisclosureColor, renderingMode: .alwaysOriginal)
}()
static var chevronRightImage: UIImage = {
let image = UIImage(systemName: "chevron.right")!
return image
// return image.withTintColor(AppAssets.chevronDisclosureColor, renderingMode: .alwaysOriginal)
return image.withTintColor(AppAssets.chevronDisclosureColor, renderingMode: .alwaysOriginal)
}()
static var faviconTemplateImage: RSImage = {
@ -51,9 +49,7 @@ struct AppAssets {
}()
static var masterFolderImage: UIImage = {
let image = UIImage(systemName: "folder.fill")!
return image
// return image.withTintColor(AppAssets.masterFolderColor, renderingMode: .alwaysOriginal)
return UIImage(systemName: "folder.fill")!
}()
static var netNewsWireBlueColor: UIColor = {
@ -73,9 +69,7 @@ struct AppAssets {
}()
static var smartFeedImage: UIImage = {
let image = UIImage(systemName: "gear")!
return image
// return image.withTintColor(AppAssets.smartFeedColor, renderingMode: .alwaysOriginal)
return UIImage(systemName: "gear")!
}()
static var starColor: UIColor = {
@ -92,8 +86,7 @@ struct AppAssets {
static var timelineStarImage: UIImage = {
let image = UIImage(systemName: "star.fill")!
return image
// return image.withTintColor(AppAssets.starColor, renderingMode: .alwaysOriginal)
return image.withTintColor(AppAssets.starColor, renderingMode: .alwaysOriginal)
}()
static var timelineUnreadCircleColor: UIColor = {