Skip to content

Commit 043835e

Browse files
committed
Fix wrapping title of the extra info button
1 parent db5a6ec commit 043835e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

WooCommerce/Classes/Authentication/Navigation Exceptions/ULErrorViewController.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ private extension ULErrorViewController {
8686
extraInfoButton.applyLinkButtonStyle()
8787
extraInfoButton.contentEdgeInsets = Constants.extraInfoCustomInsets
8888
extraInfoButton.setTitle(viewModel.auxiliaryButtonTitle, for: .normal)
89+
extraInfoButton.titleLabel?.numberOfLines = 2
90+
extraInfoButton.titleLabel?.textAlignment = .center
8991
extraInfoButton.on(.touchUpInside) { [weak self] _ in
9092
self?.didTapAuxiliaryButton()
9193
}

0 commit comments

Comments
 (0)