Skip to content

Commit cc442ea

Browse files
committed
[BOOK-274] chore: code style check success
1 parent fa5ab6e commit cc442ea

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

feature/splash/src/main/kotlin/com/ninecraft/booket/splash/HandleSplashSideEffects.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@ package com.ninecraft.booket.splash
22

33
import android.content.Context
44
import android.content.Intent
5-
import android.net.Uri
65
import androidx.compose.runtime.Composable
76
import androidx.compose.ui.platform.LocalContext
8-
import com.skydoves.compose.effects.RememberedEffect
97
import androidx.core.net.toUri
8+
import com.skydoves.compose.effects.RememberedEffect
109

1110
@Composable
1211
internal fun HandleSplashSideEffects(

feature/splash/src/main/kotlin/com/ninecraft/booket/splash/SplashPresenter.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,19 +72,23 @@ class SplashPresenter @AssistedInject constructor(
7272
OnboardingState.NOT_COMPLETED -> {
7373
navigator.resetRoot(OnboardingScreen)
7474
}
75+
7576
OnboardingState.COMPLETED -> {
7677
when (autoLoginState) {
7778
AutoLoginState.LOGGED_IN -> {
7879
checkTermsAgreement()
7980
}
81+
8082
AutoLoginState.NOT_LOGGED_IN -> {
8183
navigator.resetRoot(LoginScreen)
8284
}
85+
8386
AutoLoginState.IDLE -> {
8487
// 자동 로그인 상태를 기다리는 중
8588
}
8689
}
8790
}
91+
8892
OnboardingState.IDLE -> {
8993
// 온보딩 상태를 기다리는 중
9094
}
@@ -96,6 +100,7 @@ class SplashPresenter @AssistedInject constructor(
96100
SplashUiEvent.OnUpdateButtonClick -> {
97101
sideEffect = SplashSideEffect.NavigateToPlayStore
98102
}
103+
99104
SplashUiEvent.InitSideEffect -> {
100105
sideEffect = null
101106
}
@@ -126,7 +131,7 @@ class SplashPresenter @AssistedInject constructor(
126131
return SplashUiState(
127132
isForceUpdateDialogVisible = isForceUpdateDialogVisible,
128133
sideEffect = sideEffect,
129-
eventSink = ::handleEvent
134+
eventSink = ::handleEvent,
130135
)
131136
}
132137

feature/splash/src/main/kotlin/com/ninecraft/booket/splash/SplashUiState.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,3 @@ sealed interface SplashUiEvent : CircuitUiEvent {
1919
data object InitSideEffect : SplashUiEvent
2020
data object OnUpdateButtonClick : SplashUiEvent
2121
}
22-

0 commit comments

Comments
 (0)