summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-06-27 17:29:06 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-06-27 18:07:29 +0530
commitb3be9bad2645b425ae91860f8b53f4d88304917c (patch)
tree15f994e8b976d3be159e59789c2cc4fe7fcdfe15 /app/src/main
parentee6895b2e8664c1b30b01be9ee390852592d4767 (diff)
fix: replace hard-coded strings
Diffstat (limited to 'app/src/main')
-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),
)