Merge branch 'mkirk/dynamic-gallery-text'

pull/1/head
Michael Kirk 7 years ago
commit e24da59892

@ -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

Loading…
Cancel
Save