@@ -65,7 +65,7 @@ final class ApplicationCoordinator: Coordinator, Presenting, RootContainerViewCo
65
65
} ( )
66
66
67
67
private var splitTunnelCoordinator : TunnelCoordinator ?
68
- private var splitLocationCoordinator : SelectLocationCoordinator ?
68
+ private var splitLocationCoordinator : LocationCoordinator ?
69
69
70
70
private let tunnelManager : TunnelManager
71
71
private let storePaymentManager : StorePaymentManager
@@ -488,17 +488,17 @@ final class ApplicationCoordinator: Coordinator, Presenting, RootContainerViewCo
488
488
489
489
private func setupSplitView( ) {
490
490
let tunnelCoordinator = makeTunnelCoordinator ( )
491
- let selectLocationCoordinator = makeSelectLocationCoordinator ( forModalPresentation: false )
491
+ let locationCoordinator = makeLocationCoordinator ( forModalPresentation: false )
492
492
493
493
addChild ( tunnelCoordinator)
494
- addChild ( selectLocationCoordinator )
494
+ addChild ( locationCoordinator )
495
495
496
496
splitTunnelCoordinator = tunnelCoordinator
497
- splitLocationCoordinator = selectLocationCoordinator
497
+ splitLocationCoordinator = locationCoordinator
498
498
499
499
splitViewController. delegate = self
500
500
splitViewController. viewControllers = [
501
- selectLocationCoordinator . navigationController,
501
+ locationCoordinator . navigationController,
502
502
tunnelCoordinator. rootViewController,
503
503
]
504
504
@@ -508,7 +508,7 @@ final class ApplicationCoordinator: Coordinator, Presenting, RootContainerViewCo
508
508
. safeAreaLayoutGuide
509
509
510
510
tunnelCoordinator. start ( )
511
- selectLocationCoordinator . start ( )
511
+ locationCoordinator . start ( )
512
512
}
513
513
514
514
private func presentTOS( animated: Bool , completion: @escaping ( Coordinator ) -> Void ) {
@@ -634,7 +634,7 @@ final class ApplicationCoordinator: Coordinator, Presenting, RootContainerViewCo
634
634
}
635
635
636
636
private func presentSelectLocation( animated: Bool , completion: @escaping ( Coordinator ) -> Void ) {
637
- let coordinator = makeSelectLocationCoordinator ( forModalPresentation: true )
637
+ let coordinator = makeLocationCoordinator ( forModalPresentation: true )
638
638
coordinator. start ( )
639
639
640
640
presentChild ( coordinator, animated: animated) {
@@ -702,24 +702,24 @@ final class ApplicationCoordinator: Coordinator, Presenting, RootContainerViewCo
702
702
return tunnelCoordinator
703
703
}
704
704
705
- private func makeSelectLocationCoordinator ( forModalPresentation isModalPresentation: Bool )
706
- -> SelectLocationCoordinator {
705
+ private func makeLocationCoordinator ( forModalPresentation isModalPresentation: Bool )
706
+ -> LocationCoordinator {
707
707
let navigationController = CustomNavigationController ( )
708
708
navigationController. isNavigationBarHidden = !isModalPresentation
709
709
710
- let selectLocationCoordinator = SelectLocationCoordinator (
710
+ let locationCoordinator = LocationCoordinator (
711
711
navigationController: navigationController,
712
712
tunnelManager: tunnelManager,
713
713
relayCacheTracker: relayCacheTracker
714
714
)
715
715
716
- selectLocationCoordinator . didFinish = { [ weak self] _, _ in
716
+ locationCoordinator . didFinish = { [ weak self] _, _ in
717
717
if isModalPresentation {
718
718
self ? . router. dismiss ( . selectLocation, animated: true )
719
719
}
720
720
}
721
721
722
- return selectLocationCoordinator
722
+ return locationCoordinator
723
723
}
724
724
725
725
private func presentAccount( animated: Bool , completion: @escaping ( Coordinator ) -> Void ) {
0 commit comments