From af76f312acdea0fd0cd9005048c294365116f5c7 Mon Sep 17 00:00:00 2001 From: hyesuuou <68391767+hyesuuou@users.noreply.github.com> Date: Fri, 26 Jan 2024 01:28:22 +0900 Subject: [PATCH] =?UTF-8?q?[Fix]=20#225=20-=20=EB=A1=9C=EA=B7=B8=EC=9D=B8?= =?UTF-8?q?=20=EC=9D=B4=EC=8A=88=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iOS-NOTTODO/Presentation/Auth/AuthViewController.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iOS-NOTTODO/iOS-NOTTODO/Presentation/Auth/AuthViewController.swift b/iOS-NOTTODO/iOS-NOTTODO/Presentation/Auth/AuthViewController.swift index 33af0b2b..416a42a1 100644 --- a/iOS-NOTTODO/iOS-NOTTODO/Presentation/Auth/AuthViewController.swift +++ b/iOS-NOTTODO/iOS-NOTTODO/Presentation/Auth/AuthViewController.swift @@ -254,12 +254,12 @@ extension AuthViewController { } func checkNotificationSettings() { - UNUserNotificationCenter.current().getNotificationSettings { settings in + UNUserNotificationCenter.current().getNotificationSettings { [weak self] settings in switch settings.authorizationStatus { case .notDetermined: - self.showNotiDialogView() + self?.showNotiDialogView() default: - break + self?.presentToHomeViewController() } } }