aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/Coordinators/AppCoordinator+QRScanViewControllerDelegate.swift
diff options
context:
space:
mode:
Diffstat (limited to 'WireGuard/Coordinators/AppCoordinator+QRScanViewControllerDelegate.swift')
-rw-r--r--WireGuard/Coordinators/AppCoordinator+QRScanViewControllerDelegate.swift17
1 files changed, 0 insertions, 17 deletions
diff --git a/WireGuard/Coordinators/AppCoordinator+QRScanViewControllerDelegate.swift b/WireGuard/Coordinators/AppCoordinator+QRScanViewControllerDelegate.swift
deleted file mode 100644
index d76470b..0000000
--- a/WireGuard/Coordinators/AppCoordinator+QRScanViewControllerDelegate.swift
+++ /dev/null
@@ -1,17 +0,0 @@
-//
-// Copyright © 2018 WireGuard LLC. All rights reserved.
-//
-
-import Foundation
-
-extension AppCoordinator: QRScanViewControllerDelegate {
- func didSave(tunnel: Tunnel, qrScanViewController: QRScanViewController) {
- qrScanViewController.navigationController?.popViewController(animated: true)
- showTunnelInfoViewController(tunnel: tunnel, context: tunnel.managedObjectContext!)
- saveTunnel(tunnel)
- }
-
- func didCancel(qrScanViewController: QRScanViewController) {
- qrScanViewController.navigationController?.popViewController(animated: true)
- }
-}