From 5af57de64f1c0ab9e6e51fd3513898ff4bd214bc Mon Sep 17 00:00:00 2001 From: Colin Brash Date: Fri, 9 Apr 2021 05:10:11 -0400 Subject: [PATCH] fix: sharpen blurry checkmark icon (#1487) `image(with)` is currently buggy and returns an image with the wrong scale (causing it to be blurry). Remove this call, it is actually unnecessary because `tintColor` does the same thing. --- Source/CourseOutlineItemView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/CourseOutlineItemView.swift b/Source/CourseOutlineItemView.swift index ee43c36e5e..612b8a284a 100644 --- a/Source/CourseOutlineItemView.swift +++ b/Source/CourseOutlineItemView.swift @@ -185,7 +185,7 @@ public class CourseOutlineItemView: UIView { func setContentIcon(icon: Icon?, color: UIColor) { shouldShowLeadingView = true - let image = icon?.imageWithFontSize(size: SmallIconSize).image(with: color) + let image = icon?.imageWithFontSize(size: SmallIconSize) leadingImageButton.setImage(image, for: .normal) leadingImageButton.tintColor = color if let accessibilityText = icon?.accessibilityText {