From 8be152644c45b04f875ea4c4a69bf1ae49437974 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Wed, 17 Dec 2025 12:07:23 +0100 Subject: [PATCH] Use BackspaceSolid Icon from Compound --- .../features/lockscreen/impl/unlock/keypad/PinKeypad.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/unlock/keypad/PinKeypad.kt b/features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/unlock/keypad/PinKeypad.kt index 2131853e3e..093ad2f2b4 100644 --- a/features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/unlock/keypad/PinKeypad.kt +++ b/features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/unlock/keypad/PinKeypad.kt @@ -21,8 +21,6 @@ import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.size import androidx.compose.foundation.shape.CircleShape -import androidx.compose.material.icons.Icons -import androidx.compose.material.icons.automirrored.filled.Backspace import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment @@ -40,6 +38,7 @@ import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.sp import androidx.compose.ui.unit.times import io.element.android.compound.theme.ElementTheme +import io.element.android.compound.tokens.generated.CompoundIcons import io.element.android.libraries.designsystem.preview.ElementPreview import io.element.android.libraries.designsystem.preview.PreviewsDayNight import io.element.android.libraries.designsystem.text.toSp @@ -206,7 +205,8 @@ private fun PinKeypadBackButton( onClick = onClick, ) { Icon( - imageVector = Icons.AutoMirrored.Filled.Backspace, + modifier = Modifier.size(28.dp), + imageVector = CompoundIcons.BackspaceSolid(), contentDescription = stringResource(CommonStrings.a11y_delete), ) }