From 9d0c0fae9049c0376f1329e70cf5d5337e1d1df5 Mon Sep 17 00:00:00 2001 From: jk234ert Date: Sat, 20 Feb 2021 21:00:11 +0800 Subject: [PATCH] chore: apply large title style to slogan title --- Mastodon/Scene/Welcome/WelcomeViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mastodon/Scene/Welcome/WelcomeViewController.swift b/Mastodon/Scene/Welcome/WelcomeViewController.swift index 4aa3f0301..fa27d5a0b 100644 --- a/Mastodon/Scene/Welcome/WelcomeViewController.swift +++ b/Mastodon/Scene/Welcome/WelcomeViewController.swift @@ -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