aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/app/passwordstore/ui/crypto/DecryptScreen.kt9
1 files changed, 9 insertions, 0 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 3dc2a401..3c2ee025 100644
--- a/app/src/main/java/app/passwordstore/ui/crypto/DecryptScreen.kt
+++ b/app/src/main/java/app/passwordstore/ui/crypto/DecryptScreen.kt
@@ -69,6 +69,15 @@ fun PasswordEntryScreen(
trailingIcon = { CopyButton { clipboard.setText(AnnotatedString(totp.value)) } }
)
}
+ if (entry.username != null) {
+ TextField(
+ value = entry.username!!,
+ onValueChange = {},
+ readOnly = true,
+ label = { Text("Username") },
+ trailingIcon = { CopyButton { clipboard.setText(AnnotatedString(entry.username!!)) } },
+ )
+ }
}
}
}