Fix crop and scale screen title inset

This commit is contained in:
nielsandriesse 2020-06-19 15:28:05 +10:00
parent debce7241d
commit 8470e1b265

View file

@ -199,7 +199,7 @@ import SignalMessaging
contentView.addSubview(titleLabel)
titleLabel.autoPinWidthToSuperview()
let titleLabelMargin = ScaleFromIPhone5(16)
titleLabel.autoPinEdge(.top, to: .top, of: view, withOffset: titleLabelMargin)
titleLabel.autoPinEdge(toSuperviewSafeArea: .top, withInset: titleLabelMargin)
createButtonRow(contentView: contentView)