From e2b6fa1f81421e9d9dcd644c0138d6d008169646 Mon Sep 17 00:00:00 2001 From: Fernando Garcia Date: Mon, 16 Dec 2024 17:21:14 +0100 Subject: [PATCH] ANDROID-14792 Update. Replace deprecated provider reference --- .../java/com/telefonica/mistica/compose/input/CheckBoxInput.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/src/main/java/com/telefonica/mistica/compose/input/CheckBoxInput.kt b/library/src/main/java/com/telefonica/mistica/compose/input/CheckBoxInput.kt index 7a3e61f59..c6a4c676d 100644 --- a/library/src/main/java/com/telefonica/mistica/compose/input/CheckBoxInput.kt +++ b/library/src/main/java/com/telefonica/mistica/compose/input/CheckBoxInput.kt @@ -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 @@ -32,7 +33,7 @@ fun CheckBoxInput( modifier = modifier.alpha(enabled) ) { Row { - CompositionLocalProvider(LocalMinimumTouchTargetEnforcement provides false) { + CompositionLocalProvider(LocalMinimumInteractiveComponentEnforcement provides false) { Checkbox( checked = checked, onCheckedChange = onCheckedChange,