mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 15:38:28 +02:00
Fix version check banner layout after migration to iOS 15.
This commit is contained in:
committed by
Stefan Ceriu
parent
dd7e71a6cf
commit
5dcf44aead
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user