Skip to content

Commit 521dba4

Browse files
committed
update badge color init so does not change on appearance switch
1 parent 42c98a9 commit 521dba4

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.wooCommercePurple(.shade80)
27-
static let salesChannelLabelBackgroundColor = UIColor.wooCommercePurple(.shade10)
26+
static let salesChannelLabelTextColor = UIColor.withColorStudio(.wooCommercePurple, shade: .shade80)
27+
static let salesChannelLabelBackgroundColor = UIColor.withColorStudio(.wooCommercePurple, shade: .shade10)
2828
}
2929
}

0 commit comments

Comments
 (0)