user name component add show both support

This commit is contained in:
DASHU
2025-07-22 21:48:14 +08:00
parent d09c35f778
commit dafbf08115
5 changed files with 38 additions and 12 deletions

View File

@@ -64,7 +64,11 @@ class _AuthDialog extends State<AuthDialogBaseComponnet> {
for (var pubkey in pubkeys) {
items.add(DropdownMenuItem(
value: pubkey,
child: UserNameComponent(pubkey),
child: UserNameComponent(
pubkey,
showBoth: true,
fullNpubName: true,
),
));
}