Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 5dd7c91

Browse files
committed
feat(app): add username to DecryptScreen
1 parent 9bdbd55 commit 5dd7c91

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

app/src/main/java/app/passwordstore/ui/crypto/DecryptScreen.kt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@ fun PasswordEntryScreen(
6969
trailingIcon = { CopyButton { clipboard.setText(AnnotatedString(totp.value)) } }
7070
)
7171
}
72+
if (entry.username != null) {
73+
TextField(
74+
value = entry.username!!,
75+
onValueChange = {},
76+
readOnly = true,
77+
label = { Text("Username") },
78+
trailingIcon = { CopyButton { clipboard.setText(AnnotatedString(entry.username!!)) } },
79+
)
80+
}
7281
}
7382
}
7483
}

0 commit comments

Comments
 (0)