Change button
parent
990840e943
commit
489c6f87e6
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue