Fix layout of experience upgrade view on iPhone X.

pull/1/head
Matthew Chen 7 years ago
parent c67c46217f
commit 11cdd2790e

@ -430,12 +430,10 @@ class ExperienceUpgradesPageViewController: OWSViewController, UIPageViewControl
let statusBarBackgroundView = UIView.container() let statusBarBackgroundView = UIView.container()
view.addSubview(statusBarBackgroundView) view.addSubview(statusBarBackgroundView)
statusBarBackgroundView.backgroundColor = UIColor.ows_materialBlue statusBarBackgroundView.backgroundColor = UIColor.ows_materialBlue
statusBarBackgroundView.addRedBorder()
let headerBackgroundView = UIView.container() let headerBackgroundView = UIView.container()
view.addSubview(headerBackgroundView) view.addSubview(headerBackgroundView)
headerBackgroundView.backgroundColor = UIColor.ows_materialBlue headerBackgroundView.backgroundColor = UIColor.ows_materialBlue
headerBackgroundView.addRedBorder()
// Dismiss button // Dismiss button
let dismissButton = UIButton() let dismissButton = UIButton()

Loading…
Cancel
Save