From 655e6dedcba27b9a0f600ad23e1e873f7c5ecd5d Mon Sep 17 00:00:00 2001 From: jiwon2724 Date: Sun, 25 Aug 2024 14:45:47 +0900 Subject: [PATCH] =?UTF-8?q?[chore]=20=EC=BD=94=EB=94=A9=20=EC=BB=A8?= =?UTF-8?q?=EB=B2=A4=EC=85=98=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/pokitmons/pokit/LoginViewModel.kt | 1 - .../main/java/pokitmons/pokit/login/LoginScreen.kt | 12 ++++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/feature/login/src/main/java/pokitmons/pokit/LoginViewModel.kt b/feature/login/src/main/java/pokitmons/pokit/LoginViewModel.kt index 1382f14a..f19f7ec0 100644 --- a/feature/login/src/main/java/pokitmons/pokit/LoginViewModel.kt +++ b/feature/login/src/main/java/pokitmons/pokit/LoginViewModel.kt @@ -5,7 +5,6 @@ import androidx.compose.runtime.MutableState import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateListOf import androidx.compose.runtime.mutableStateOf -import androidx.compose.runtime.remember import androidx.compose.runtime.setValue import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope diff --git a/feature/login/src/main/java/pokitmons/pokit/login/LoginScreen.kt b/feature/login/src/main/java/pokitmons/pokit/login/LoginScreen.kt index 6a0117df..2edf16b7 100644 --- a/feature/login/src/main/java/pokitmons/pokit/login/LoginScreen.kt +++ b/feature/login/src/main/java/pokitmons/pokit/login/LoginScreen.kt @@ -163,10 +163,10 @@ private fun googleLogin( } // TODO 배포 후 피처 추가 -//private fun appleLogin( +// private fun appleLogin( // context: Context, // snsLogin: (String, String) -> Unit, -//) { +// ) { // val provider = OAuthProvider.newBuilder("apple.com").apply { // addCustomParameter("locale", "ko") // } @@ -187,12 +187,12 @@ private fun googleLogin( // // TODO 로그인 실패 바텀시트 렌더링 // } // } -//} +// } // -//private fun handleAuthResult( +// private fun handleAuthResult( // authResult: AuthResult, // snsLogin: (String, String) -> Unit, -//) { +// ) { // val user = authResult.user // user?.getIdToken(true)?.addOnCompleteListener { task -> // if (task.isSuccessful) { @@ -206,4 +206,4 @@ private fun googleLogin( // // TODO 로그인 실패 바텀시트 렌더링 // } // } -//} +// }