mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-01-31 04:52:05 +00:00
Fix text size in purchase cells
This commit is contained in:
parent
f86de0dcfa
commit
d8ef4f96e0
@ -137,6 +137,10 @@ extension UILabel {
|
||||
font = .preferredFont(forTextStyle: .body)
|
||||
textColor = theme.palette.accent1
|
||||
}
|
||||
|
||||
func applySecondarySize(_ theme: Theme) {
|
||||
font = .preferredFont(forTextStyle: .callout)
|
||||
}
|
||||
}
|
||||
|
||||
extension UITextField {
|
||||
|
@ -38,6 +38,8 @@ class PurchaseTableViewCell: UITableViewCell {
|
||||
|
||||
labelTitle?.applyAccent(.current)
|
||||
labelPrice?.applyAccent(.current)
|
||||
labelDescription?.apply(.current)
|
||||
labelDescription?.applySecondarySize(.current)
|
||||
}
|
||||
|
||||
func fill(product: SKProduct, customDescription: String? = nil) {
|
||||
|
Loading…
Reference in New Issue
Block a user