Skip to content

Commit 5bc9d30

Browse files
committed
Remove unused top and bottom constraint variables
1 parent 3f658fa commit 5bc9d30

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

WooCommerce/Classes/ViewRelated/ReusableViews/TwoColumnLabelView.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import UIKit
33
class TwoColumnLabelView: UIView {
44
@IBOutlet private var leftColumn: UILabel!
55
@IBOutlet private var rightColumn: UILabel!
6-
@IBOutlet private var topConstraint: NSLayoutConstraint!
7-
@IBOutlet private var bottomConstraint: NSLayoutConstraint!
86

97
enum Mode {
108
case body
@@ -43,8 +41,6 @@ class TwoColumnLabelView: UIView {
4341
case .title:
4442
leftColumn.applyTitleStyle()
4543
rightColumn.applyTitleStyle()
46-
topConstraint.constant = Constants.topConstant
47-
bottomConstraint.constant = Constants.bottomConstant
4844
}
4945
}
5046

@@ -58,9 +54,5 @@ class TwoColumnLabelView: UIView {
5854
}
5955
}
6056

61-
extension TwoColumnLabelView {
62-
struct Constants {
63-
static let topConstant = CGFloat(14)
64-
static let bottomConstant = CGFloat(20)
6557
}
6658
}

0 commit comments

Comments
 (0)