From 75ac8888bea7d0a600c15799a0e49536b5275143 Mon Sep 17 00:00:00 2001 From: DOGDDUDDY Date: Sun, 10 Sep 2023 20:18:46 +0900 Subject: [PATCH] =?UTF-8?q?[feat/auto=5Flogin]:=20=EB=B3=80=EC=88=98?= =?UTF-8?q?=EB=AA=85=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/org/gdsc/presentation/login/SplashActivity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/presentation/src/main/java/org/gdsc/presentation/login/SplashActivity.kt b/presentation/src/main/java/org/gdsc/presentation/login/SplashActivity.kt index e63245ad..a34e3fb5 100644 --- a/presentation/src/main/java/org/gdsc/presentation/login/SplashActivity.kt +++ b/presentation/src/main/java/org/gdsc/presentation/login/SplashActivity.kt @@ -36,11 +36,11 @@ class SplashActivity : AppCompatActivity() { lifecycleScope.launch(Dispatchers.Main) { - val validateTokenJob = validateToken() + val accessible = validateToken() delay(DELAY_TIME) - if(validateTokenJob) + if(accessible) moveToMain() else moveToLogin()