Skip to content

Commit 553d7da

Browse files
committed
Fix a typo
1 parent a0c89c7 commit 553d7da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WooCommerce/Classes/Extensions/UIButton+Helpers.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ extension UIButton {
3333
///
3434
func applyTertiaryButtonStyle() {
3535
backgroundColor = .clear
36-
contentEdgeInsets = Style.noMargingEdgeInsets
36+
contentEdgeInsets = Style.noMarginEdgeInsets
3737
tintColor = StyleManager.wooCommerceBrandColor
3838
layer.borderColor = StyleManager.wooCommerceBrandColor.cgColor
3939
titleLabel?.applySubheadlineStyle()
@@ -50,6 +50,6 @@ private extension UIButton {
5050
static let defaultCornerRadius = CGFloat(8.0)
5151
static let defaultBorderWidth = CGFloat(1.0)
5252
static let defaultEdgeInsets = UIEdgeInsets(top: 12, left: 22, bottom: 12, right: 22)
53-
static let noMargingEdgeInsets = UIEdgeInsets(top: 12, left: 0, bottom: 12, right: 0)
53+
static let noMarginEdgeInsets = UIEdgeInsets(top: 12, left: 0, bottom: 12, right: 0)
5454
}
5555
}

0 commit comments

Comments
 (0)