mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 10:02:46 +02:00
Fix version check banner layout after migration to iOS 15.
This commit is contained in:
committed by
Stefan Ceriu
parent
936baf86f4
commit
a7a65e5c98
+1
-3
@@ -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