aboutsummaryrefslogtreecommitdiff
path: root/foray/Coordinators
diff options
context:
space:
mode:
Diffstat (limited to 'foray/Coordinators')
-rw-r--r--foray/Coordinators/ForayCoordinator.swift4
1 files changed, 3 insertions, 1 deletions
diff --git a/foray/Coordinators/ForayCoordinator.swift b/foray/Coordinators/ForayCoordinator.swift
index 70febce..fbd446a 100644
--- a/foray/Coordinators/ForayCoordinator.swift
+++ b/foray/Coordinators/ForayCoordinator.swift
@@ -11,10 +11,12 @@ import LinkPresentation
class ForayCoordinator: Coordinator {
var childCoordinators = [Coordinator]()
+ var window: UIWindow?
var navigationController: UINavigationController
var loadingOverlay: ForayLoadingOverlay
- init(navigationController: UINavigationController) {
+ init(window: UIWindow?, navigationController: UINavigationController) {
+ self.window = window
self.navigationController = navigationController
self.loadingOverlay = ForayLoadingOverlay(viewController: navigationController)
}