mirror of
https://github.com/android-password-store/Android-Password-Store.git
synced 2025-09-07 01:27:18 +02:00
feat(app): add username to DecryptScreen
This commit is contained in:
parent
9bdbd55204
commit
5dd7c91038
|
@ -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