fix: replace hard-coded strings

This commit is contained in:
Harsh Shandilya 2023-06-27 17:29:06 +05:30
parent ee6895b2e8
commit b3be9bad26
No known key found for this signature in database

View File

@ -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),
)