diff --git a/DJSystemiOS/Pages/QRReaderPage/QRReaderViewController.swift b/DJSystemiOS/Pages/QRReaderPage/QRReaderViewController.swift index fc56e23..c97b6f0 100644 --- a/DJSystemiOS/Pages/QRReaderPage/QRReaderViewController.swift +++ b/DJSystemiOS/Pages/QRReaderPage/QRReaderViewController.swift @@ -44,7 +44,6 @@ final class QRReaderViewController: UIViewController { extension QRReaderViewController: QRScannerViewDelegate { func qrScannerView(_ qrScannerView: QRScannerView, didFailure error: QRScannerError) { - print(error) let alert = UIAlertController(title: "エラー", message: "このQRコードは無効です", preferredStyle: .alert) alert.addAction(.init(title: "OK", style: .default)) self.present(alert, animated: true) diff --git a/DJSystemiOS/SceneDelegate.swift b/DJSystemiOS/SceneDelegate.swift index 17ac955..d7ac65c 100644 --- a/DJSystemiOS/SceneDelegate.swift +++ b/DJSystemiOS/SceneDelegate.swift @@ -13,8 +13,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate { let window = UIWindow(windowScene: windowScene) // MARK: 自分が実装してる画面に書き換えてね -// window.rootViewController = UINavigationController(rootViewController: SearchRoomViewController(roomAPI: Room.API(), router: SearchRoomRouter())) - window.rootViewController = UINavigationController(rootViewController: QRReaderViewController()) + window.rootViewController = UINavigationController(rootViewController: SearchRoomViewController(roomAPI: Room.API(), router: SearchRoomRouter())) self.window = window self.window?.makeKeyAndVisible() }