Card donations: tweak error font size and spacing

This commit is contained in:
Evan Hahn 2022-12-14 11:47:13 -06:00 committed by GitHub
parent 734b69c63e
commit e400f5822b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -49,7 +49,7 @@ extension CreditOrDebitCardDonationViewController {
private lazy var errorLabel: UILabel = {
let result = UILabel()
result.font = .ows_dynamicTypeBody2
result.font = .ows_dynamicTypeCaption1
result.textColor = .ows_accentRed
result.numberOfLines = 1
return result

View File

@ -23,6 +23,8 @@ class CreditOrDebitCardDonationViewController: OWSTableViewController2 {
self.onFinished = onFinished
super.init()
self.defaultSpacingBetweenSections = 0
}
deinit {