Skip to content

Commit 3fb678b

Browse files
committed
Change CustomerNote button configuration to plain
1 parent 87d67d8 commit 3fb678b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

WooCommerce/Classes/ViewRelated/Orders/Order Details/Customer Section/CustomerNoteTableViewCell.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,9 @@ private extension CustomerNoteTableViewCell {
128128
addButton.setImage(.plusImage, for: .normal)
129129
addButton.contentHorizontalAlignment = .leading
130130
addButton.contentVerticalAlignment = .bottom
131-
var configuration = UIButton.Configuration.filled()
131+
var configuration = UIButton.Configuration.plain()
132132
configuration.contentInsets = .init(.zero)
133+
addButton.configuration = configuration
133134
addButton.distributeTitleAndImage(spacing: Constants.buttonTitleAndImageSpacing)
134135
addButton.addTarget(self, action: #selector(addButtonTapped), for: .touchUpInside)
135136
}

0 commit comments

Comments
 (0)