Skip to content

Commit

Permalink
package 이름에 enum이 들어가 예약어라고 빌드 에러가 나는 부분 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
kts6056 committed Nov 17, 2023
1 parent 084bd43 commit d18ada0
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -186,4 +186,4 @@ private fun TopBar(modifier: Modifier, onClickBack: () -> Unit) {
style = ChevitTheme.typhography.headlineMedium.copy(color = ChevitTheme.colors.textPrimary)
)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -42,4 +42,4 @@ class ChecklistViewModel @Inject constructor() :
fun saveTemplate(title: String, color: TemplateColor) {
//TODO
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -105,4 +105,4 @@ fun CategoryListContents(
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -39,4 +39,4 @@ fun CategoryType.getCategoryIconResId(): Int {
CategoryType.CLOTHES -> R.drawable.ic_category_clothes
CategoryType.ETC -> R.drawable.ic_category_etc
}
}
}

0 comments on commit d18ada0

Please sign in to comment.