Skip to content

Commit

Permalink
#308 [fix] HousDot
Browse files Browse the repository at this point in the history
  • Loading branch information
murjune committed Sep 3, 2023
1 parent 88980e5 commit 407b8d0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ enum class HousDotType {
companion object {
fun from(isNew: Boolean = false, isRepresent: Boolean = false): HousDotType {
return when {
isNew -> NEW
isRepresent -> REPRESENTATIVE
isNew -> NEW
else -> NORMAL
}
}
Expand Down Expand Up @@ -70,6 +70,6 @@ private fun HousDashPreview2() {
@Composable
private fun HousDashPreview3() {
HousTheme {
HousDot(HousDotType.from(isRepresent = true))
HousDot(HousDotType.from(isRepresent = true, isNew = true))
}
}

0 comments on commit 407b8d0

Please sign in to comment.