Export qr scanned config to system settings.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
ce02b7a4c0
commit
6cf4c49e21
|
@ -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