Export qr scanned config to system settings.

This commit is contained in:
Jeroen Leenarts 2018-10-03 10:48:49 +02:00
parent 44adfe7a1e
commit e96a5c803f
1 changed files with 1 additions and 0 deletions

View File

@ -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) {