Skip to content

Commit

Permalink
ANDROID-14792 Update. Replace deprecated provider reference
Browse files Browse the repository at this point in the history
  • Loading branch information
haynlo committed Dec 16, 2024
1 parent d7574a8 commit e2b6fa1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import androidx.compose.foundation.layout.width
import androidx.compose.material.Checkbox
import androidx.compose.material.CheckboxDefaults
import androidx.compose.material.ExperimentalMaterialApi
import androidx.compose.material.LocalMinimumInteractiveComponentEnforcement
import androidx.compose.material.LocalMinimumTouchTargetEnforcement
import androidx.compose.runtime.Composable
import androidx.compose.runtime.CompositionLocalProvider
Expand All @@ -32,7 +33,7 @@ fun CheckBoxInput(
modifier = modifier.alpha(enabled)
) {
Row {
CompositionLocalProvider(LocalMinimumTouchTargetEnforcement provides false) {
CompositionLocalProvider(LocalMinimumInteractiveComponentEnforcement provides false) {
Checkbox(
checked = checked,
onCheckedChange = onCheckedChange,
Expand Down

0 comments on commit e2b6fa1

Please sign in to comment.