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!!)) } }, + ) + } } } }