diff --git a/AltStore/Components/AppIconImageView.swift b/AltStore/Components/AppIconImageView.swift index 8559d453..2a8c6492 100644 --- a/AltStore/Components/AppIconImageView.swift +++ b/AltStore/Components/AppIconImageView.swift @@ -20,7 +20,7 @@ class AppIconImageView: UIImageView self.backgroundColor = .white self.layer.borderWidth = 0.5 - self.layer.borderColor = UIColor.lightGray.cgColor + self.layer.borderColor = self.tintColor.cgColor // Allows us to match system look for app icons. if self.layer.responds(to: Selector(("continuousCorners"))) @@ -37,4 +37,11 @@ class AppIconImageView: UIImageView let radius = self.bounds.height / 5 self.layer.cornerRadius = radius } + + override func tintColorDidChange() + { + super.tintColorDidChange() + + self.layer.borderColor = self.tintColor.cgColor + } }