From 09a961df3c376d69cc1413785abab1e2946034e3 Mon Sep 17 00:00:00 2001 From: Koda Tomomi Date: Wed, 4 Oct 2023 12:40:24 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=A6=E3=82=A3=E3=82=B8=E3=82=A7=E3=83=83?= =?UTF-8?q?=E3=83=88=E8=B5=B7=E5=8B=95=E6=99=82=E3=81=AB=E3=83=A2=E3=83=BC?= =?UTF-8?q?=E3=83=80=E3=83=AB=E9=9D=9E=E8=A1=A8=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Main/Wireframe/MainTabBarViewWireframe.swift | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/AgileWorks/AgileWorks/Main/Wireframe/MainTabBarViewWireframe.swift b/AgileWorks/AgileWorks/Main/Wireframe/MainTabBarViewWireframe.swift index c733522..8c74a85 100644 --- a/AgileWorks/AgileWorks/Main/Wireframe/MainTabBarViewWireframe.swift +++ b/AgileWorks/AgileWorks/Main/Wireframe/MainTabBarViewWireframe.swift @@ -51,6 +51,13 @@ extension MainTabBarViewWireframeImpl: MainTabBarViewWireframe { //ウィジェットからの起動 func showApprovalDetail(url: String) { + //接続先モーダルが表示されていたら閉じる + if let modal = self.viewController.presentedViewController as? ServerSwitchingViewController { + if modal != nil { + modal.dismiss(animated: true, completion: nil) + } + } + //アプリ起動のみ if url.contains(urlSchemeName) { return -- GitLab