feat: display lightning address in NWC wallet info and clean up UI

- Add lightning address (lud16) display in wallet info dropdown
- Remove redundant "Connected" text from wallet heading
- Keep status indicator icon for cleaner, more compact UI
This commit is contained in:
Claude
2026-01-18 21:21:46 +00:00
parent c94203852e
commit 5a5f16536b

View File

@@ -926,10 +926,7 @@ export default function WalletViewer() {
<span className="font-semibold">
{walletInfo?.alias || "Lightning Wallet"}
</span>
<div className="flex items-center gap-1">
<div className="size-1.5 rounded-full bg-green-500" />
<span className="text-[10px] text-muted-foreground">Connected</span>
</div>
<div className="size-1.5 rounded-full bg-green-500" />
</div>
{/* Right: Info Dropdown, Refresh, Disconnect */}
@@ -974,6 +971,16 @@ export default function WalletViewer() {
/>
</div>
)}
{state.nwcConnection?.lud16 && (
<div className="flex justify-between text-xs">
<span className="text-muted-foreground">
Lightning Address
</span>
<span className="font-mono">
{state.nwcConnection.lud16}
</span>
</div>
)}
</div>
<div className="space-y-2">