chore: apply large title style to slogan title

This commit is contained in:
jk234ert 2021-02-20 21:00:11 +08:00
parent 9fefdccef2
commit 9d0c0fae90
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ final class WelcomeViewController: UIViewController {
let sloganLabel: UILabel = {
let label = UILabel()
label.font = .boldSystemFont(ofSize: 34)
label.font = UIFontMetrics(forTextStyle: .largeTitle).scaledFont(for: UIFont.boldSystemFont(ofSize: 34))
label.textColor = Asset.Colors.Label.black.color
label.text = L10n.Common.Label.slogon
label.adjustsFontForContentSizeCategory = true