Skip to content

Commit

Permalink
[FIX] #246 - Apple ID ID 저장값 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
mini-min committed Dec 28, 2021
1 parent dae49c1 commit 9326a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NADA-iOS-forRelease/Sources/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
if UserDefaults.standard.bool(forKey: Const.UserDefaultsKey.isAppleLogin) {
// 애플 로그인으로 연동되어 있을 때, -> 애플 ID와의 연동상태 확인 로직
let appleIDProvider = ASAuthorizationAppleIDProvider()
appleIDProvider.getCredentialState(forUserID: Const.UserDefaultsKey.userID) { (credentialState, error) in
appleIDProvider.getCredentialState(forUserID: UserDefaults.standard.string(forKey: Const.UserDefaultsKey.userID) ?? "") { (credentialState, error) in
switch credentialState {
case .authorized:
print("해당 ID는 연동되어있습니다.")
Expand Down

0 comments on commit 9326a50

Please sign in to comment.