From 4f003341e3ed7aacb05f57c88baf2eafcbdc58c3 Mon Sep 17 00:00:00 2001 From: Atsuhiro Muroyama Date: Sat, 12 Aug 2023 14:12:24 +0900 Subject: [PATCH] fix: delete space --- DJSystemiOS/Pages/QRReaderPage/QRReaderViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DJSystemiOS/Pages/QRReaderPage/QRReaderViewController.swift b/DJSystemiOS/Pages/QRReaderPage/QRReaderViewController.swift index c97b6f0..aba58a4 100644 --- a/DJSystemiOS/Pages/QRReaderPage/QRReaderViewController.swift +++ b/DJSystemiOS/Pages/QRReaderPage/QRReaderViewController.swift @@ -52,12 +52,12 @@ extension QRReaderViewController: QRScannerViewDelegate { func qrScannerView(_ qrScannerView: QRScannerView, didSuccess code: String) { let extractedRoomID = URL.extractRoomID(inputURL: code) switch extractedRoomID { - case .success(let roomID) : + case .success(let roomID): let validURL = roomID let roomOverViewPageView = RoomOverviewViewController(roomAPI: Room.API(), roomOverview: RoomOverview(id: validURL, name: "", description: "")) navigationController?.pushViewController(roomOverViewPageView, animated: true) - case .failure : + case .failure: let alert = UIAlertController(title: "エラー", message: "このURLに対応するルームが見つかりません。", preferredStyle: .alert) alert.addAction(.init(title: "OK", style: .default)) self.present(alert, animated: true)