Skip to content

Commit

Permalink
fix/#17 : ktlint 대응
Browse files Browse the repository at this point in the history
  • Loading branch information
shinythinking committed Feb 18, 2025
1 parent 15087bf commit f1a1b2d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,11 @@ fun RecommendationRoute(
onBackClick: () -> Unit,
) {
val uiState by viewModel.uiState.collectAsStateWithLifecycle()

MapisodeScaffold(
modifier = Modifier.fillMaxSize(),
isStatusBarPaddingExist = true,
isNavigationBarPaddingExist = true,
topBar = {
// 구분 해야...
AiEpisodeTopBar(
title = "AI 추천",
onClickBack = onBackClick,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ data class RecommendationState (
val isOptionSelected: Boolean = false,
val resultViewType: ResultViewType = ResultViewType.LIST_VIEW,
val resultEpisodes: List<ResultEpisode> = emptyList(),

) : UiState
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ import com.boostcamp.mapisode.home.common.OptionType
import com.boostcamp.mapisode.home.common.ResultViewType
import com.boostcamp.mapisode.ui.base.BaseViewModel
import dagger.hilt.android.lifecycle.HiltViewModel
import timber.log.Timber
import javax.inject.Inject

@HiltViewModel
class RecommendationViewmodel @Inject constructor(

) : BaseViewModel<RecommendationIntent, RecommendationState, RecommendationSideEffect>(
RecommendationState(),
) {
Expand All @@ -31,7 +29,6 @@ class RecommendationViewmodel @Inject constructor(
}

private fun showListType() {
Timber.e("ResultViewType.LIST_VIEW")
intent {
copy(
resultViewType = ResultViewType.LIST_VIEW,
Expand All @@ -40,8 +37,6 @@ class RecommendationViewmodel @Inject constructor(
}

private fun showMapType() {

Timber.e("ResultViewType.MAP_VIEW")
intent {
copy(
resultViewType = ResultViewType.MAP_VIEW,
Expand Down

0 comments on commit f1a1b2d

Please sign in to comment.