Don't use dynamic text for navbar view

// FREEBIE
This commit is contained in:
Michael Kirk 2018-04-03 15:36:22 -04:00
parent 756132acf8
commit e6b0f692c9
1 changed files with 2 additions and 2 deletions

View File

@ -573,7 +573,7 @@ class MediaPageViewController: UIPageViewController, UIPageViewControllerDataSou
lazy private var headerNameLabel: UILabel = {
let label = UILabel()
label.textColor = .white
label.font = .ows_dynamicTypeBody()
label.font = UIFont.ows_regularFont(withSize: 17)
label.textAlignment = .center
label.adjustsFontSizeToFitWidth = true
label.minimumScaleFactor = 0.8
@ -584,7 +584,7 @@ class MediaPageViewController: UIPageViewController, UIPageViewControllerDataSou
lazy private var headerDateLabel: UILabel = {
let label = UILabel()
label.textColor = .white
label.font = UIFont.preferredFont(forTextStyle: .caption1)
label.font = UIFont.ows_regularFont(withSize: 12)
label.textAlignment = .center
label.adjustsFontSizeToFitWidth = true