Skip to content

Commit

Permalink
[PC-92] throttledClickable에 throttleTime을 Mandantory로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
tgyuuAn committed Dec 26, 2024
1 parent 825c33f commit 6d361ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ fun Modifier.addFocusCleaner(

@Composable
fun Modifier.throttledClickable(
throttleTime: Long,
onClick: () -> Unit,
enabled: Boolean = true,
throttleTime: Long = 0L,
): Modifier = composed {
var lastClickTime by remember { mutableLongStateOf(0L) }

Expand Down

0 comments on commit 6d361ed

Please sign in to comment.