mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-06-06 18:51:21 +02:00
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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user