mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Fix delegate assignment. Issue #1322
This commit is contained in:
@@ -139,6 +139,8 @@ private extension AddContainerViewController {
|
||||
}
|
||||
|
||||
func displayContentController(_ controller: AddContainerViewControllerChild) {
|
||||
controller.delegate = self
|
||||
|
||||
if let currentViewController = currentViewController {
|
||||
|
||||
let transition = CATransition()
|
||||
@@ -163,8 +165,6 @@ private extension AddContainerViewController {
|
||||
}
|
||||
|
||||
currentViewController = controller
|
||||
currentViewController?.delegate = self
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user