feat(app): add username to DecryptScreen
This commit is contained in:
parent
9bdbd55204
commit
5dd7c91038
1 changed files with 9 additions and 0 deletions
|
@ -69,6 +69,15 @@ fun PasswordEntryScreen(
|
||||||
trailingIcon = { CopyButton { clipboard.setText(AnnotatedString(totp.value)) } }
|
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!!)) } },
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue