From 276abf652b3e113e5b71ccf4caff353569e07deb Mon Sep 17 00:00:00 2001 From: Stuart Breckenridge Date: Thu, 14 Aug 2025 21:15:19 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20For=20#4718=20-=20use=20`.semibo?= =?UTF-8?q?ld`=20instead=20of=20`.bold`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Collection View Cells/MainFeedCollectionViewCell.swift | 5 +++-- .../MainFeedCollectionViewFolderCell.swift | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/iOS/MainFeed/Collection View Cells/MainFeedCollectionViewCell.swift b/iOS/MainFeed/Collection View Cells/MainFeedCollectionViewCell.swift index cae3e7de8..088713741 100644 --- a/iOS/MainFeed/Collection View Cells/MainFeedCollectionViewCell.swift +++ b/iOS/MainFeed/Collection View Cells/MainFeedCollectionViewCell.swift @@ -87,8 +87,9 @@ class MainFeedCollectionViewCell: UICollectionViewCell { case (true, .pad): backgroundConfig.backgroundColor = .tertiarySystemFill feedTitle.textColor = AppAssets.primaryAccentColor - feedTitle.font = feedTitle.font.bold() - unreadCountLabel.font = unreadCountLabel.font.bold() + feedTitle.font = UIFont.systemFont(ofSize: UIFont.preferredFont(forTextStyle: .body).pointSize, + weight: .semibold) + unreadCountLabel.font = UIFont.systemFont(ofSize: UIFont.preferredFont(forTextStyle: .body).pointSize, weight: .semibold) case (true, .phone): backgroundConfig.backgroundColor = AppAssets.primaryAccentColor feedTitle.textColor = .white diff --git a/iOS/MainFeed/Collection View Cells/MainFeedCollectionViewFolderCell.swift b/iOS/MainFeed/Collection View Cells/MainFeedCollectionViewFolderCell.swift index 0e5f45dc9..24254a121 100644 --- a/iOS/MainFeed/Collection View Cells/MainFeedCollectionViewFolderCell.swift +++ b/iOS/MainFeed/Collection View Cells/MainFeedCollectionViewFolderCell.swift @@ -116,8 +116,8 @@ class MainFeedCollectionViewFolderCell: UICollectionViewCell { case (true, .pad): backgroundConfig.backgroundColor = .tertiarySystemFill folderTitle.textColor = AppAssets.primaryAccentColor - folderTitle.font = folderTitle.font.bold() - unreadCountLabel.font = unreadCountLabel.font.bold() + folderTitle.font = UIFont.systemFont(ofSize: UIFont.preferredFont(forTextStyle: .body).pointSize, weight: .semibold) + unreadCountLabel.font = UIFont.systemFont(ofSize: UIFont.preferredFont(forTextStyle: .body).pointSize, weight: .semibold) case (true, .phone): backgroundConfig.backgroundColor = AppAssets.primaryAccentColor folderTitle.textColor = .white