From 29d27943bd34a8e52f03d781252a527f7952839c Mon Sep 17 00:00:00 2001 From: leeeha Date: Tue, 16 Jan 2024 15:17:58 +0900 Subject: [PATCH] =?UTF-8?q?[chore]=20#233=20ktlint=20check=20=EB=B0=98?= =?UTF-8?q?=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/go/sopt/winey/presentation/splash/SplashActivity.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/org/go/sopt/winey/presentation/splash/SplashActivity.kt b/app/src/main/java/org/go/sopt/winey/presentation/splash/SplashActivity.kt index 33905927..cbdd6644 100644 --- a/app/src/main/java/org/go/sopt/winey/presentation/splash/SplashActivity.kt +++ b/app/src/main/java/org/go/sopt/winey/presentation/splash/SplashActivity.kt @@ -24,7 +24,6 @@ import org.go.sopt.winey.presentation.main.MainActivity import org.go.sopt.winey.presentation.onboarding.guide.GuideActivity import org.go.sopt.winey.util.binding.BindingActivity import org.go.sopt.winey.util.context.colorOf -import org.go.sopt.winey.util.context.toast import timber.log.Timber import javax.inject.Inject @@ -89,8 +88,8 @@ class SplashActivity : BindingActivity(R.layout.activity_ private fun checkAppUpdateInfo() { appUpdateManager.appUpdateInfo.addOnSuccessListener { appUpdateInfo -> - if (appUpdateInfo.updateAvailability() == UpdateAvailability.UPDATE_AVAILABLE - && appUpdateInfo.isUpdateTypeAllowed(AppUpdateType.IMMEDIATE) + if (appUpdateInfo.updateAvailability() == UpdateAvailability.UPDATE_AVAILABLE && + appUpdateInfo.isUpdateTypeAllowed(AppUpdateType.IMMEDIATE) ) { // 설치 가능한 업데이트 버전이 있고, 즉시 업데이트가 허용된 경우 requestImmediateUpdate(appUpdateInfo)