Use monospace digit font for character counter

Fixes #29
This commit is contained in:
Shadowfacts 2019-07-27 18:27:47 -04:00
parent 319c76f60a
commit 8bdfa7f09f
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 2 additions and 0 deletions

View File

@ -156,6 +156,8 @@ class ComposeViewController: UIViewController {
stackView.insertArrangedSubview(replyLabelContainer, at: 1)
}
// we have to set the font here, because the monospaced digit font is not available in IB
charactersRemainingLabel.font = .monospacedDigitSystemFont(ofSize: 17, weight: .regular)
updateCharactersRemaining()
updatePlaceholder()