Skip to content

Commit

Permalink
quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
creative-dev-lab committed Jun 8, 2022
1 parent 2528877 commit ae47f00
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ final class AirRobeOptInView: UIView, NibLoadable {

override func layoutSubviews() {
let maxWidth = subTitleContainer.bounds.width - potentialValueLabel.bounds.width - 10 - potentialValueLoading.bounds.width
if descriptionValueLabelMaxWidth != maxWidth {
if descriptionValueLabelMaxWidth != maxWidth && viewType == .optIn {
descriptionValueLabelMaxWidth = maxWidth
guard let value = descriptionLabel.text, value.isEmpty || value == AirRobeStrings.description else {
return
Expand Down

0 comments on commit ae47f00

Please sign in to comment.