Skip to content

Commit

Permalink
Refactor FXIOS-9164 - Updated Fonts On SurveySurfaceViewController to…
Browse files Browse the repository at this point in the history
… FXFontStyles (#20326)
  • Loading branch information
tisumi99 committed May 23, 2024
1 parent f43e19e commit 41c42bc
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ class SurveySurfaceViewController: UIViewController, Themeable {

static let sideMarginMultiplier: CGFloat = 0.05

static let titleFontSize: CGFloat = 20
static let titleDistanceFromImage: CGFloat = 16
static let titleWidth: CGFloat = 343

Expand Down Expand Up @@ -63,8 +62,7 @@ class SurveySurfaceViewController: UIViewController, Themeable {
}

private lazy var titleLabel: UILabel = .build { label in
label.font = DefaultDynamicFontHelper.preferredBoldFont(withTextStyle: .title3,
size: UX.titleFontSize)
label.font = FXFontStyles.Bold.title3.scaledFont()
label.numberOfLines = 0
label.textAlignment = .center
label.adjustsFontForContentSizeCategory = true
Expand Down

0 comments on commit 41c42bc

Please sign in to comment.