Skip to content

Commit

Permalink
Fix spacer below affirm label (#882)
Browse files Browse the repository at this point in the history
  • Loading branch information
wooj-stripe authored Mar 23, 2022
1 parent 6915c6d commit e26936c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Stripe/AffirmCopyLabel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class AffirmCopyLabel: UIView {
affirmLabel.textColor = CompatibleColor.secondaryLabel
affirmLabel.numberOfLines = 0
affirmLabel.sizeToFit()
addSubview(affirmLabel)
addAndPinSubview(affirmLabel)
}

override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
Expand Down

0 comments on commit e26936c

Please sign in to comment.