Fix logic test to determine if an image is symbol or not. Fixes #2523

This commit is contained in:
Maurice Parker 2020-10-30 03:52:57 -05:00
parent 1d7af8e4b8
commit 5739c819af

View File

@ -75,7 +75,7 @@ final class IconView: UIView {
override func layoutSubviews() {
imageView.setFrameIfNotEqual(rectForImageView())
if (iconImage != nil && isVerticalBackgroundExposed && !isSymbolImage) || !isDisconcernable {
if !isSymbolImage && ((iconImage != nil && isVerticalBackgroundExposed) || !isDisconcernable) {
backgroundColor = AppAssets.iconBackgroundColor
} else {
backgroundColor = nil