Skip to content

Commit

Permalink
[chore] #233 ktlint check 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeha committed Jan 16, 2024
1 parent 736fa69 commit 29d2794
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -89,8 +88,8 @@ class SplashActivity : BindingActivity<ActivitySplashBinding>(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)
Expand Down

0 comments on commit 29d2794

Please sign in to comment.