Skip to content

Commit

Permalink
Fix #6206: Placeholder text does not follow dynamic font sizing (#6275)
Browse files Browse the repository at this point in the history
  • Loading branch information
vphong committed Apr 1, 2020
1 parent b813a4c commit 8350f11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Client/Frontend/Settings/SettingsTableViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,8 @@ class StringSetting: Setting, UITextFieldDelegate {
cell.accessibilityTraits = UIAccessibilityTraits.none
cell.contentView.addSubview(textField)

textField.font = DynamicFontHelper.defaultHelper.DefaultStandardFont

textField.snp.makeConstraints { make in
make.height.equalTo(44)
make.trailing.equalTo(cell.contentView).offset(-Padding)
Expand Down

0 comments on commit 8350f11

Please sign in to comment.