feat(app): add username to DecryptScreen

This commit is contained in:
Harsh Shandilya 2022-10-08 18:28:27 +05:30
parent 9bdbd55204
commit 5dd7c91038
No known key found for this signature in database

View file

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