From 9e2ac50415a29bb445b6cc6d17f2711b6f145d3a Mon Sep 17 00:00:00 2001 From: hooni Date: Fri, 13 Sep 2024 22:34:05 +0900 Subject: [PATCH] =?UTF-8?q?fix/#383=20=ED=99=94=EB=A9=B4=EC=A0=84=ED=99=98?= =?UTF-8?q?=EC=8B=9C=20=EB=B0=B1=EB=B2=84=ED=8A=BC=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Source/MyPage/ViewController/MyPageViewController.swift | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/KkuMulKum/Source/MyPage/ViewController/MyPageViewController.swift b/KkuMulKum/Source/MyPage/ViewController/MyPageViewController.swift index 868bc614..d2c2c418 100644 --- a/KkuMulKum/Source/MyPage/ViewController/MyPageViewController.swift +++ b/KkuMulKum/Source/MyPage/ViewController/MyPageViewController.swift @@ -240,10 +240,8 @@ class MyPageViewController: BaseViewController, CustomActionSheetDelegate { private func navigateToLoginScreen() { let loginViewModel = LoginViewModel() let loginViewController = LoginViewController(viewModel: loginViewModel) - let navigationController = UINavigationController(rootViewController: loginViewController) - navigationController.modalPresentationStyle = .fullScreen - self.view.window?.rootViewController = navigationController - self.view.window?.makeKeyAndVisible() + loginViewController.modalPresentationStyle = .fullScreen + self.present(loginViewController, animated: true, completion: nil) } func actionButtonDidTap(for kind: ActionSheetKind) {