Merge pull request #1892 from flowinho/ios-release

Add background to pure white icons
This commit is contained in:
Maurice Parker
2020-03-13 10:04:56 -05:00
committed by GitHub
2 changed files with 47 additions and 8 deletions

View File

@@ -24,8 +24,15 @@ final class IconView: UIView {
self.setNeedsLayout()
}
} else {
self.setNeedsLayout()
if self.iconImage?.isBright ?? false {
self.isDisconcernable = false
self.setNeedsLayout()
} else {
self.isDisconcernable = true
self.setNeedsLayout()
}
}
self.setNeedsLayout()
}
}
}