Added missing constraints needed for iPad.

This commit is contained in:
Maurice Parker 2019-11-16 14:34:35 -06:00
parent e04f1ae7a1
commit 7ea838f793
1 changed files with 2 additions and 2 deletions

View File

@ -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)