Skip to content

Commit

Permalink
[STYLE] #86 : when 스코프 소거
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongjaino committed Jan 12, 2024
1 parent 2841e9a commit ab91fa7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ internal fun SplashRoute(
LaunchedEffect(true) {
viewModel.splashUiEvent.collect { event ->
when (event) {
is SplashViewModel.SplashEvent.SignInUser -> { navigateToNotice() }
is SplashViewModel.SplashEvent.NonSignInUser -> { navigateToAuth() }
is SplashViewModel.SplashEvent.SignInUser -> navigateToNotice()
is SplashViewModel.SplashEvent.NonSignInUser -> navigateToAuth()
is SplashViewModel.SplashEvent.Failure -> {
navigateToAuth()
context.showToast(event.throwable.toSupportingText())
Expand Down

0 comments on commit ab91fa7

Please sign in to comment.