mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 13:57:47 +00: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…
x
Reference in New Issue
Block a user