File tree Expand file tree Collapse file tree 2 files changed +31
-2
lines changed
WooCommerce/Classes/Authentication/Epilogue Expand file tree Collapse file tree 2 files changed +31
-2
lines changed Original file line number Diff line number Diff line change @@ -16,4 +16,17 @@ class EmptyStoresTableViewCell: UITableViewCell {
1616 comment: " Displayed during the Login flow, whenever the user has no woo stores associated. " )
1717 }
1818 }
19+
20+ override func awakeFromNib( ) {
21+ super. awakeFromNib ( )
22+
23+ configureBackground ( )
24+ }
25+ }
26+
27+
28+ private extension EmptyStoresTableViewCell {
29+ func configureBackground( ) {
30+ applyDefaultBackgroundStyle ( )
31+ }
1932}
Original file line number Diff line number Diff line change @@ -73,8 +73,9 @@ class StoreTableViewCell: UITableViewCell {
7373
7474 override func awakeFromNib( ) {
7575 super. awakeFromNib ( )
76- nameLabel. textColor = StyleManager . wooSecondary
77- urlLabel. textColor = StyleManager . wooSecondary
76+ configureBackground ( )
77+ configureNameLabel ( )
78+ configureUrlLabel ( )
7879 }
7980
8081 /// Displays (or hides) the Checkmark ContainerView, based on the `allowsCheckmark` property.
@@ -89,3 +90,18 @@ class StoreTableViewCell: UITableViewCell {
8990 checkmarkImageView. image = displaysCheckmark ? . checkmarkStyledImage : nil
9091 }
9192}
93+
94+
95+ private extension StoreTableViewCell {
96+ func configureBackground( ) {
97+ applyDefaultBackgroundStyle ( )
98+ }
99+
100+ func configureNameLabel( ) {
101+ nameLabel. textColor = StyleManager . wooSecondary
102+ }
103+
104+ func configureUrlLabel( ) {
105+ urlLabel. textColor = StyleManager . wooSecondary
106+ }
107+ }
You can’t perform that action at this time.
0 commit comments