Skip to content

Commit 64f6280

Browse files
committed
feat: 에러가 유저가 로그인을 취소하면 얼럿을 띄우지 않도록 구현
1 parent 82d880b commit 64f6280

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DevLog/Presentation/ViewModel/LoginViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import Combine
99
import Foundation
1010
import FirebaseAuth
11-
import GoogleSignIn
1211

1312
@Observable
1413
final class LoginViewModel: Store {
@@ -93,6 +92,7 @@ final class LoginViewModel: Store {
9392
} catch {
9493
send(.setLogined(false))
9594
sessionUseCase.execute(false)
95+
if error.isSocialLoginCancelled { return }
9696
send(.setAlert(true))
9797
}
9898
}

0 commit comments

Comments
 (0)