update fonts

This commit is contained in:
Nihaal Sharma committed 2026-08-30 18:50:00 +05:30
1 parent 0adabd8818
commit bd26ae93cf
3 files changed
+6 -6

No files matched your search

@@ -91,7 +91,7 @@ class EmojiPackDetailViewController: UIViewController {
self.countLabel = UILabel() self.countLabel = UILabel()
countLabel.text = "hello default" countLabel.text = "hello default"
countLabel.font = UIFont.systemFont(ofSize: 14) countLabel.font = UIFont.preferredFont(forTextStyle: .subheadline)
countLabel.textAlignment = .center countLabel.textAlignment = .center
self.effectView = UIVisualEffectView(effect: nil) self.effectView = UIVisualEffectView(effect: nil)
self.view.addSubview(effectView) self.view.addSubview(effectView)
@@ -63,11 +63,11 @@ class MessagesPackListView: UITableViewController {
var config = cell.defaultContentConfiguration() var config = cell.defaultContentConfiguration()
config.directionalLayoutMargins = .zero config.directionalLayoutMargins = .zero
cell.layoutMargins = UIEdgeInsets(top: 4, left: 4, bottom: 4, right: 4) cell.layoutMargins = UIEdgeInsets(top: 4, left: 4, bottom: 4, right: 8)
cell.separatorInset = UIEdgeInsets(top: 0, left: 4, bottom: 0, right: 0) cell.separatorInset = UIEdgeInsets(top: 0, left: 4, bottom: 0, right: 0)
cell.preservesSuperviewLayoutMargins = false cell.preservesSuperviewLayoutMargins = false
config.textProperties.font = UIFont.systemFont(ofSize: 14) config.textProperties.font = UIFont.preferredFont(forTextStyle: .caption1)
config.secondaryTextProperties.font = UIFont.systemFont(ofSize: 12) config.secondaryTextProperties.font = UIFont.preferredFont(forTextStyle: .caption2)
if indexPath.section == 0 { if indexPath.section == 0 {
config.text = "All" config.text = "All"
@@ -66,11 +66,11 @@ class StickerBrowserViewController: MSStickerBrowserViewController {
labelStack.layer.masksToBounds = true labelStack.layer.masksToBounds = true
labelTitle.textColor = .white labelTitle.textColor = .white
labelTitle.font = UIFont.systemFont(ofSize: 14) labelTitle.font = UIFont.preferredFont(forTextStyle: .subheadline)
labelTitle.textAlignment = .center labelTitle.textAlignment = .center
labelSubTitle.textColor = .white labelSubTitle.textColor = .white
labelSubTitle.font = UIFont.systemFont(ofSize: 12) labelSubTitle.font = UIFont.preferredFont(forTextStyle: .caption1)
labelSubTitle.textAlignment = .center labelSubTitle.textAlignment = .center
} }
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.