From 5739c819af143bf78ae3f48d5e4194bd8d9e8540 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Fri, 30 Oct 2020 03:52:57 -0500 Subject: [PATCH] Fix logic test to determine if an image is symbol or not. Fixes #2523 --- iOS/IconView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iOS/IconView.swift b/iOS/IconView.swift index 0c3885a5b..a7d9f3e28 100644 --- a/iOS/IconView.swift +++ b/iOS/IconView.swift @@ -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