mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-01-17 22:19:08 +00:00
Forward wizard delegate after import
Necessary to delegate adding to organizer.
This commit is contained in:
parent
0e7c0b6388
commit
663764177a
@ -33,6 +33,8 @@ class ImportedHostsViewController: UITableViewController {
|
||||
private lazy var pendingConfigurationURLs = TransientStore.shared.service.pendingConfigurationURLs()
|
||||
|
||||
private var parsedFile: ParsedFile?
|
||||
|
||||
weak var wizardDelegate: WizardDelegate?
|
||||
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
@ -75,6 +77,7 @@ class ImportedHostsViewController: UITableViewController {
|
||||
return
|
||||
}
|
||||
wizard.parsedFile = parsedFile
|
||||
wizard.delegate = wizardDelegate
|
||||
}
|
||||
|
||||
@IBAction private func close() {
|
||||
|
@ -139,6 +139,8 @@ class OrganizerViewController: UITableViewController, TableModelHost {
|
||||
providerVC.availableNames = availableProviderNames ?? []
|
||||
}
|
||||
vc.delegate = self
|
||||
} else if let vc = destination as? ImportedHostsViewController {
|
||||
vc.wizardDelegate = self
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user