From 0269683b16b17bed431fca90e9a2e9e984671d7a Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sat, 3 Aug 2019 16:34:35 -0500 Subject: [PATCH] Reenable tinting now that at the beta OS releases don't crash when using them --- iOS/AppAssets.swift | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/iOS/AppAssets.swift b/iOS/AppAssets.swift index 7477f223f..20dd186d4 100644 --- a/iOS/AppAssets.swift +++ b/iOS/AppAssets.swift @@ -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 = {