Skip to content

Commit

Permalink
[PC-000] doOnClear -> onFocusCleared 네이밍 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
tgyuuAn committed Dec 26, 2024
1 parent 6d361ed commit 37a6778
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ import com.puzzle.designsystem.foundation.PieceTheme

fun Modifier.addFocusCleaner(
focusManager: FocusManager,
doOnClear: () -> Unit = {},
onFocusCleared: () -> Unit = {},
): Modifier {
return this.pointerInput(Unit) {
detectTapGestures(
onTap = {
doOnClear()
onFocusCleared()
focusManager.clearFocus()
},
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,13 +255,13 @@ private fun ValueTag(value: String) {
modifier = Modifier
.wrapContentSize()
.clip(RoundedCornerShape(4.dp))
.background(PieceTheme.colors.primaryLight),
.background(PieceTheme.colors.primaryLight)
.padding(vertical = 6.dp, horizontal = 12.dp),
) {
Text(
text = value,
style = PieceTheme.typography.bodyMR,
color = PieceTheme.colors.black,
modifier = Modifier.padding(vertical = 6.dp, horizontal = 12.dp),
)
}
}
Expand Down

0 comments on commit 37a6778

Please sign in to comment.