From 04ac3258a73c0282de426361e494e64004698a14 Mon Sep 17 00:00:00 2001 From: Jerome Chan Date: Sat, 22 Jan 2022 15:46:17 +0800 Subject: [PATCH] Make the font larger 20pt in the wallet tab, token value #3766 --- AlphaWallet/Style/AppStyle.swift | 4 ++-- AlphaWallet/Tokens/Views/EthTokenViewCell.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AlphaWallet/Style/AppStyle.swift b/AlphaWallet/Style/AppStyle.swift index c42f46fd7..9e2d93d26 100644 --- a/AlphaWallet/Style/AppStyle.swift +++ b/AlphaWallet/Style/AppStyle.swift @@ -93,7 +93,7 @@ struct Colors { static let navigationTitleColor = UIColor.black static let navigationButtonTintColor = R.color.mine()! static let appWhite = UIColor.white - static let appText = UIColor(red: 47, green: 47, blue: 47) + static let appText = R.color.black()! static let appSubtitle = UIColor(red: 117, green: 117, blue: 117) static let appHighlightGreen = UIColor(red: 117, green: 185, blue: 67) static let appActionButtonGreen = UIColor(red: 105, green: 200, blue: 0) @@ -311,7 +311,7 @@ enum Screen { static let blockChainName = Fonts.semibold(size: 12) static let valueChangeLabel = Fonts.regular(size: 15) static let placeholderLabel = Fonts.regular(size: 17) - static let valueChangeValue = Fonts.semibold(size: 17) + static let valueChangeValue = Fonts.semibold(size: 20) } enum Color { diff --git a/AlphaWallet/Tokens/Views/EthTokenViewCell.swift b/AlphaWallet/Tokens/Views/EthTokenViewCell.swift index 66a69d784..fd11c0bfd 100644 --- a/AlphaWallet/Tokens/Views/EthTokenViewCell.swift +++ b/AlphaWallet/Tokens/Views/EthTokenViewCell.swift @@ -117,7 +117,7 @@ class EthTokenViewCell: UITableViewCell { tokenIconImageView.heightAnchor.constraint(equalToConstant: 40), tokenIconImageView.widthAnchor.constraint(equalToConstant: 40), row1.heightAnchor.constraint(greaterThanOrEqualToConstant: 20), - stackView.anchorsConstraint(to: background, edgeInsets: .init(top: 12, left: 20, bottom: 16, right: 12)), + stackView.anchorsConstraint(to: background, edgeInsets: .init(top: 12, left: 16, bottom: 15, right: 16)), background.anchorsConstraint(to: contentView) ]) }