mirror of
https://github.com/android-password-store/Android-Password-Store.git
synced 2026-04-18 17:40:22 +02:00
fix: replace hard-coded strings
This commit is contained in:
parent
ee6895b2e8
commit
b3be9bad26
|
|
@ -70,7 +70,7 @@ fun PasswordEntryScreen(
|
|||
if (entry.password != null) {
|
||||
PasswordField(
|
||||
value = entry.password!!,
|
||||
label = "Password",
|
||||
label = stringResource(R.string.password),
|
||||
initialVisibility = false,
|
||||
readOnly = readOnly,
|
||||
modifier = Modifier.padding(bottom = 8.dp),
|
||||
|
|
@ -92,7 +92,7 @@ fun PasswordEntryScreen(
|
|||
value = entry.username!!,
|
||||
onValueChange = {},
|
||||
readOnly = true,
|
||||
label = { Text("Username") },
|
||||
label = { Text(stringResource(R.string.username)) },
|
||||
trailingIcon = { CopyButton({ entry.username!! }) },
|
||||
modifier = Modifier.padding(bottom = 8.dp),
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue