Skip to content

Commit

Permalink
Fix the typo in checkbox drawable name
Browse files Browse the repository at this point in the history
  • Loading branch information
irfano committed Jan 4, 2025
1 parent e95cd5a commit c1cde94
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ fun ObjectiveListItem(
horizontalArrangement = Arrangement.spacedBy(16.dp)
) {
val selectionDrawable = if (isSelected) {
R.drawable.ic_rounded_chcekbox_checked
R.drawable.ic_rounded_checkbox_checked
} else {
R.drawable.ic_rounded_chcekbox_unchecked
R.drawable.ic_rounded_checkbox_unchecked
}
Crossfade(
targetState = selectionDrawable,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ fun SelectionCheck(
isEnabled: Boolean = true
) {
val selectionDrawable = if (isSelected) {
R.drawable.ic_rounded_chcekbox_checked
R.drawable.ic_rounded_checkbox_checked
} else {
R.drawable.ic_rounded_chcekbox_unchecked
R.drawable.ic_rounded_checkbox_unchecked
}

val colorFilter = if (isEnabled) null else ColorFilter.tint(Color.Gray)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ fun SelectorListItem(
horizontalArrangement = Arrangement.spacedBy(dimensionResource(id = dimen.major_100))
) {
val selectionDrawable = when (selectionState) {
SELECTED -> drawable.ic_rounded_chcekbox_checked
UNSELECTED -> drawable.ic_rounded_chcekbox_unchecked
PARTIALLY_SELECTED -> drawable.ic_rounded_chcekbox_partially_checked
SELECTED -> drawable.ic_rounded_checkbox_checked
UNSELECTED -> drawable.ic_rounded_checkbox_unchecked
PARTIALLY_SELECTED -> drawable.ic_rounded_checkbox_partially_checked
}
Crossfade(
targetState = selectionDrawable,
Expand Down

0 comments on commit c1cde94

Please sign in to comment.