aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/src/main/java/app/passwordstore/ui/crypto/DecryptScreen.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/app/passwordstore/ui/crypto/DecryptScreen.kt b/app/src/main/java/app/passwordstore/ui/crypto/DecryptScreen.kt
index 652ba1ae..b47c8bde 100644
--- a/app/src/main/java/app/passwordstore/ui/crypto/DecryptScreen.kt
+++ b/app/src/main/java/app/passwordstore/ui/crypto/DecryptScreen.kt
@@ -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),
)