From 4fd9641663a584dc7795ee300e8735215c14779a Mon Sep 17 00:00:00 2001 From: seunghee17 Date: Sat, 18 May 2024 15:48:33 +0900 Subject: [PATCH] =?UTF-8?q?[feat]=20=EC=B9=B4=EC=B9=B4=EC=98=A4=EB=A1=9C?= =?UTF-8?q?=EA=B7=B8=EC=9D=B8=20=EB=A1=9C=EC=A7=81=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../remind/feature/screens/auth/login/LoginViewModel.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/example/remind/feature/screens/auth/login/LoginViewModel.kt b/app/src/main/java/com/example/remind/feature/screens/auth/login/LoginViewModel.kt index c7e355c..269fab3 100644 --- a/app/src/main/java/com/example/remind/feature/screens/auth/login/LoginViewModel.kt +++ b/app/src/main/java/com/example/remind/feature/screens/auth/login/LoginViewModel.kt @@ -60,7 +60,9 @@ class LoginViewModel @Inject constructor( } UserApiClient.instance.loginWithKakaoAccount(context, callback = callback) } else if(token != null) { - Log.e("kakao", "카카오톡으로 로그인 성공") + viewModelScope.launch { + socialLogin(token.accessToken) + } } } } else {