Localization peaufinage

This commit is contained in:
Chocolaterie
2025-01-21 13:51:59 +01:00
parent f5a2f5acd1
commit 2af088cc3e
4 changed files with 31 additions and 2 deletions

View File

@@ -86,7 +86,10 @@ fun LoginActivityPage() {
}
}
@Preview(showBackground = true)
@Preview(
showBackground = true,
locale = "zh"
)
@Composable
fun LoginActivityPreview() {
LoginActivityPage()

View File

@@ -60,7 +60,7 @@ fun EniButton(label: String){
@Composable
fun EniTextField(label : String){
TextField(value = "", onValueChange = {}, modifier = Modifier.fillMaxWidth(),
TextField(value = "", onValueChange = {}, modifier = Modifier.fillMaxWidth().padding(vertical = 5.dp),
placeholder = { HintText(label) },
colors = TextFieldDefaults.colors(
unfocusedContainerColor = Color(0x44000000),