mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-02 12:06:58 +01:00
Fix logic test to determine if an image is symbol or not. Fixes #2523
This commit is contained in:
parent
1d7af8e4b8
commit
5739c819af
@ -75,7 +75,7 @@ final class IconView: UIView {
|
|||||||
|
|
||||||
override func layoutSubviews() {
|
override func layoutSubviews() {
|
||||||
imageView.setFrameIfNotEqual(rectForImageView())
|
imageView.setFrameIfNotEqual(rectForImageView())
|
||||||
if (iconImage != nil && isVerticalBackgroundExposed && !isSymbolImage) || !isDisconcernable {
|
if !isSymbolImage && ((iconImage != nil && isVerticalBackgroundExposed) || !isDisconcernable) {
|
||||||
backgroundColor = AppAssets.iconBackgroundColor
|
backgroundColor = AppAssets.iconBackgroundColor
|
||||||
} else {
|
} else {
|
||||||
backgroundColor = nil
|
backgroundColor = nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user