Skip to content

Commit 89441be

Browse files
committed
use different init for colors
1 parent 8755175 commit 89441be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WooCommerce/Classes/Extensions/UILabel+SalesChannel.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ private extension UILabel {
2323
enum Layout {
2424
static let borderWidth = CGFloat(0.0)
2525
static let cornerRadius = CGFloat(4.0)
26-
static let salesChannelLabelTextColor = UIColor(named: "posPrimary")
27-
static let salesChannelLabelBackgroundColor = UIColor(named: "posSecondary")
26+
static let salesChannelLabelTextColor = UIColor(.posPrimary)
27+
static let salesChannelLabelBackgroundColor = UIColor(.posSecondary)
2828
}
2929
}

0 commit comments

Comments
 (0)