mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 22:05:19 +00:00
fix: replace hard-coded strings
This commit is contained in:
@@ -70,7 +70,7 @@ fun PasswordEntryScreen(
|
|||||||
if (entry.password != null) {
|
if (entry.password != null) {
|
||||||
PasswordField(
|
PasswordField(
|
||||||
value = entry.password!!,
|
value = entry.password!!,
|
||||||
label = "Password",
|
label = stringResource(R.string.password),
|
||||||
initialVisibility = false,
|
initialVisibility = false,
|
||||||
readOnly = readOnly,
|
readOnly = readOnly,
|
||||||
modifier = Modifier.padding(bottom = 8.dp),
|
modifier = Modifier.padding(bottom = 8.dp),
|
||||||
@@ -92,7 +92,7 @@ fun PasswordEntryScreen(
|
|||||||
value = entry.username!!,
|
value = entry.username!!,
|
||||||
onValueChange = {},
|
onValueChange = {},
|
||||||
readOnly = true,
|
readOnly = true,
|
||||||
label = { Text("Username") },
|
label = { Text(stringResource(R.string.username)) },
|
||||||
trailingIcon = { CopyButton({ entry.username!! }) },
|
trailingIcon = { CopyButton({ entry.username!! }) },
|
||||||
modifier = Modifier.padding(bottom = 8.dp),
|
modifier = Modifier.padding(bottom = 8.dp),
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user