Skip to content

Commit

Permalink
Fix description label font
Browse files Browse the repository at this point in the history
  • Loading branch information
lascic committed Apr 30, 2022
1 parent 63f81fd commit 5ad2864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/UIOnboarding/Views/UIOnboardingCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ final class UIOnboardingCell: UITableViewCell {

override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
titleLabel.font = UIFontMetrics.default.scaledFont(for: .systemFont(ofSize: traitCollection.horizontalSizeClass == .regular ? 20 : 17, weight: .semibold))
descriptionLabel.font = UIFontMetrics.default.scaledFont(for: .systemFont(ofSize: traitCollection.horizontalSizeClass == .regular ? 18 : 15, weight: .light))
descriptionLabel.font = UIFontMetrics.default.scaledFont(for: .systemFont(ofSize: traitCollection.horizontalSizeClass == .regular ? 20 : 17, weight: .light))

stackBottom.constant = traitCollection.horizontalSizeClass == .regular ? -48 : -12
featureGlyphWidth.constant = traitCollection.horizontalSizeClass == .regular ? 60 : 44
Expand Down

0 comments on commit 5ad2864

Please sign in to comment.