Export qr scanned config to system settings.
This commit is contained in:
parent
44adfe7a1e
commit
e96a5c803f
|
@ -8,6 +8,7 @@ extension AppCoordinator: QRScanViewControllerDelegate {
|
||||||
func didSave(tunnel: Tunnel, qrScanViewController: QRScanViewController) {
|
func didSave(tunnel: Tunnel, qrScanViewController: QRScanViewController) {
|
||||||
qrScanViewController.navigationController?.popViewController(animated: true)
|
qrScanViewController.navigationController?.popViewController(animated: true)
|
||||||
showTunnelInfoViewController(tunnel: tunnel, context: tunnel.managedObjectContext!)
|
showTunnelInfoViewController(tunnel: tunnel, context: tunnel.managedObjectContext!)
|
||||||
|
saveTunnel(tunnel)
|
||||||
}
|
}
|
||||||
|
|
||||||
func didCancel(qrScanViewController: QRScanViewController) {
|
func didCancel(qrScanViewController: QRScanViewController) {
|
||||||
|
|
Loading…
Reference in New Issue