Fix version check banner layout after migration to iOS 15.

This commit is contained in:
Stefan Ceriu
2022-04-12 09:38:33 +03:00
committed by Stefan Ceriu
parent dd7e71a6cf
commit 5dcf44aead

View File

@@ -41,8 +41,6 @@ class HomeViewControllerWithBannerWrapperViewController: UIViewController, MXKVi
override func viewDidLoad() {
super.viewDidLoad()
homeViewController.willMove(toParent: self)
view.backgroundColor = .clear
stackView = UIStackView()
@@ -50,7 +48,7 @@ class HomeViewControllerWithBannerWrapperViewController: UIViewController, MXKVi
stackView.distribution = .fill
stackView.alignment = .fill
view.vc_addSubViewMatchingParent(stackView)
view.vc_addSubViewMatchingParentSafeArea(stackView)
addChild(homeViewController)
stackView.addArrangedSubview(homeViewController.view)