Added missing constraints needed for iPad.
This commit is contained in:
parent
e04f1ae7a1
commit
7ea838f793
|
@ -146,7 +146,7 @@ private extension AddContainerViewController {
|
|||
transition.subtype = currentViewController is AddWebFeedViewController ? .fromRight : .fromLeft
|
||||
containerView.layer.add(transition, forKey: "transition")
|
||||
|
||||
containerView.addSubview(controller.view)
|
||||
containerView.addChildAndPin(controller.view)
|
||||
addChild(controller)
|
||||
controller.didMove(toParent: self)
|
||||
|
||||
|
@ -156,7 +156,7 @@ private extension AddContainerViewController {
|
|||
|
||||
} else {
|
||||
|
||||
containerView.addSubview(controller.view)
|
||||
containerView.addChildAndPin(controller.view)
|
||||
addChild(controller)
|
||||
controller.didMove(toParent: self)
|
||||
|
||||
|
|
Loading…
Reference in New Issue