diff --git a/src/main/kotlin/main/Verify.kt b/src/main/kotlin/main/Verify.kt index 041fd87..6fe68a0 100644 --- a/src/main/kotlin/main/Verify.kt +++ b/src/main/kotlin/main/Verify.kt @@ -5,11 +5,14 @@ import androidx.compose.material.Button import androidx.compose.material.ButtonDefaults import androidx.compose.material.MaterialTheme import androidx.compose.material.Text +import androidx.compose.material.icons.Icons +import androidx.compose.material.icons.filled.ArrowBack import androidx.compose.runtime.* import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color import androidx.compose.ui.unit.dp +import main.component.buttonComponent import main.component.dropdownButtonComponent @Composable @@ -109,15 +112,11 @@ fun choixLangagePage( verticalArrangement = Arrangement.Bottom, horizontalAlignment = Alignment.CenterHorizontally ) { - Button( + buttonComponent( + text = languageManager.getBackText(), onClick = onBackClick, - colors = ButtonDefaults.buttonColors( - backgroundColor = customRedColor, - contentColor = Color.White - ) - ) { - Text(languageManager.getBackButtonText()) - } + icon = Icons.Filled.ArrowBack + ) } dropdownButtonComponent( languageManager = languageManager,