diff --git a/iOS/IconView.swift b/iOS/IconView.swift index 5a521844c..7ce9faf3f 100644 --- a/iOS/IconView.swift +++ b/iOS/IconView.swift @@ -16,9 +16,21 @@ final class IconView: UIView { imageView.image = iconImage?.image if self.traitCollection.userInterfaceStyle == .dark { - self.isDisconcernable = !(self.iconImage?.isDark ?? true) + if self.iconImage?.isDark ?? false { + self.isDisconcernable = false + self.setNeedsLayout() + } else { + self.isDisconcernable = true + self.setNeedsLayout() + } } else { - self.isDisconcernable = !(self.iconImage?.isBright ?? true) + if self.iconImage?.isBright ?? false { + self.isDisconcernable = false + self.setNeedsLayout() + } else { + self.isDisconcernable = true + self.setNeedsLayout() + } } self.setNeedsLayout() }