File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
WooCommerce/Classes/ViewRelated/ReusableViews Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ final class StatusListTableViewCell: UITableViewCell {
1818
1919 override func awakeFromNib( ) {
2020 super. awakeFromNib ( )
21+
22+ configureBackground ( )
2123 styleCheckmark ( )
2224 }
2325
@@ -34,8 +36,15 @@ final class StatusListTableViewCell: UITableViewCell {
3436 super. setSelected ( selected, animated: animated)
3537 accessoryType = selected ? . checkmark : . none
3638 }
39+ }
40+
41+
42+ private extension StatusListTableViewCell {
43+ func configureBackground( ) {
44+ applyDefaultBackgroundStyle ( )
45+ }
3746
38- private func styleCheckmark( ) {
47+ func styleCheckmark( ) {
3948 tintColor = StyleManager . wooCommerceBrandColor
4049 }
4150}
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ final class TitleAndEditableValueTableViewCell: UITableViewCell {
66
77 override func awakeFromNib( ) {
88 super. awakeFromNib ( )
9+ configureBackground ( )
910 configureAsNonSelectable ( )
1011 styleTitle ( )
1112 styleValue ( )
@@ -14,6 +15,10 @@ final class TitleAndEditableValueTableViewCell: UITableViewCell {
1415
1516
1617private extension TitleAndEditableValueTableViewCell {
18+ func configureBackground( ) {
19+ applyDefaultBackgroundStyle ( )
20+ }
21+
1722 func configureAsNonSelectable( ) {
1823 selectionStyle = . none
1924 }
You can’t perform that action at this time.
0 commit comments