Export qr scanned config to system settings.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jeroen Leenarts 2018-10-03 10:48:49 +02:00
parent ce02b7a4c0
commit 6cf4c49e21
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) {