diff --git a/presentation/checklist/src/main/java/com/dkin/chevit/presentation/checklist/main/AddCategoryScreen.kt b/presentation/checklist/src/main/java/com/dkin/chevit/presentation/checklist/main/AddCategoryScreen.kt index d3e784a..e547600 100644 --- a/presentation/checklist/src/main/java/com/dkin/chevit/presentation/checklist/main/AddCategoryScreen.kt +++ b/presentation/checklist/src/main/java/com/dkin/chevit/presentation/checklist/main/AddCategoryScreen.kt @@ -31,8 +31,8 @@ import androidx.compose.ui.Modifier import androidx.compose.ui.res.painterResource import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.unit.dp -import com.dkin.chevit.presentation.checklist.enum.CategoryType -import com.dkin.chevit.presentation.checklist.enum.getCategoryIconResId +import com.dkin.chevit.presentation.checklist.model.CategoryType +import com.dkin.chevit.presentation.checklist.model.getCategoryIconResId import com.dkin.chevit.presentation.resource.ChevitButtonFillLarge import com.dkin.chevit.presentation.resource.ChevitTextField import com.dkin.chevit.presentation.resource.ChevitTheme @@ -186,4 +186,4 @@ private fun TopBar(modifier: Modifier, onClickBack: () -> Unit) { style = ChevitTheme.typhography.headlineMedium.copy(color = ChevitTheme.colors.textPrimary) ) } -} \ No newline at end of file +} diff --git a/presentation/checklist/src/main/java/com/dkin/chevit/presentation/checklist/main/ChecklistContract.kt b/presentation/checklist/src/main/java/com/dkin/chevit/presentation/checklist/main/ChecklistContract.kt index edc8303..7300f50 100644 --- a/presentation/checklist/src/main/java/com/dkin/chevit/presentation/checklist/main/ChecklistContract.kt +++ b/presentation/checklist/src/main/java/com/dkin/chevit/presentation/checklist/main/ChecklistContract.kt @@ -4,7 +4,7 @@ import androidx.compose.runtime.Stable import com.dkin.chevit.core.mvi.ViewEffect import com.dkin.chevit.core.mvi.ViewIntent import com.dkin.chevit.core.mvi.ViewState -import com.dkin.chevit.presentation.checklist.enum.CategoryType +import com.dkin.chevit.presentation.checklist.model.CategoryType sealed interface ChecklistIntent : ViewIntent { data class ChangeTemplateOpenSetting(val isOpen: Boolean) : ChecklistIntent diff --git a/presentation/checklist/src/main/java/com/dkin/chevit/presentation/checklist/main/ChecklistViewModel.kt b/presentation/checklist/src/main/java/com/dkin/chevit/presentation/checklist/main/ChecklistViewModel.kt index cbc0828..da437a7 100644 --- a/presentation/checklist/src/main/java/com/dkin/chevit/presentation/checklist/main/ChecklistViewModel.kt +++ b/presentation/checklist/src/main/java/com/dkin/chevit/presentation/checklist/main/ChecklistViewModel.kt @@ -1,7 +1,7 @@ package com.dkin.chevit.presentation.checklist.main import com.dkin.chevit.core.mvi.MVIViewModel -import com.dkin.chevit.presentation.checklist.enum.CategoryType +import com.dkin.chevit.presentation.checklist.model.CategoryType import com.dkin.chevit.presentation.resource.TemplateColor import dagger.hilt.android.lifecycle.HiltViewModel import timber.log.Timber @@ -42,4 +42,4 @@ class ChecklistViewModel @Inject constructor() : fun saveTemplate(title: String, color: TemplateColor) { //TODO } -} \ No newline at end of file +} diff --git a/presentation/checklist/src/main/java/com/dkin/chevit/presentation/checklist/main/contents/CategoryListContents.kt b/presentation/checklist/src/main/java/com/dkin/chevit/presentation/checklist/main/contents/CategoryListContents.kt index 7debba9..fa64311 100644 --- a/presentation/checklist/src/main/java/com/dkin/chevit/presentation/checklist/main/contents/CategoryListContents.kt +++ b/presentation/checklist/src/main/java/com/dkin/chevit/presentation/checklist/main/contents/CategoryListContents.kt @@ -28,7 +28,7 @@ import androidx.compose.ui.res.painterResource import androidx.compose.ui.text.style.TextOverflow import androidx.compose.ui.unit.dp import com.dkin.chevit.presentation.checklist.main.ChecklistState -import com.dkin.chevit.presentation.checklist.enum.getCategoryIconResId +import com.dkin.chevit.presentation.checklist.model.getCategoryIconResId import com.dkin.chevit.presentation.resource.ChevitTheme import com.dkin.chevit.presentation.resource.icon.ChevitIcon import com.dkin.chevit.presentation.resource.icon.TemplateCheckOff @@ -105,4 +105,4 @@ fun CategoryListContents( } } } -} \ No newline at end of file +} diff --git a/presentation/checklist/src/main/java/com/dkin/chevit/presentation/checklist/enum/CategoryType.kt b/presentation/checklist/src/main/java/com/dkin/chevit/presentation/checklist/model/CategoryType.kt similarity index 96% rename from presentation/checklist/src/main/java/com/dkin/chevit/presentation/checklist/enum/CategoryType.kt rename to presentation/checklist/src/main/java/com/dkin/chevit/presentation/checklist/model/CategoryType.kt index 2c5ea48..33c92a3 100644 --- a/presentation/checklist/src/main/java/com/dkin/chevit/presentation/checklist/enum/CategoryType.kt +++ b/presentation/checklist/src/main/java/com/dkin/chevit/presentation/checklist/model/CategoryType.kt @@ -1,4 +1,4 @@ -package com.dkin.chevit.presentation.checklist.enum +package com.dkin.chevit.presentation.checklist.model import com.dkin.chevit.presentation.resource.R @@ -39,4 +39,4 @@ fun CategoryType.getCategoryIconResId(): Int { CategoryType.CLOTHES -> R.drawable.ic_category_clothes CategoryType.ETC -> R.drawable.ic_category_etc } -} \ No newline at end of file +}