chore: update tray icon

This commit is contained in:
reya
2024-06-07 09:56:57 +07:00
parent 04fe0fcec8
commit f11f836518
2 changed files with 39 additions and 33 deletions

View File

@@ -269,6 +269,11 @@ function TextNote({ event }: { event: NostrEvent }) {
.slice(0, 3); .slice(0, 3);
return ( return (
<button
type="button"
key={event.id}
onClick={() => LumeWindow.openEvent(event)}
>
<Note.Provider event={event}> <Note.Provider event={event}>
<Note.Root className="shrink-0 flex flex-col gap-1 rounded-lg p-2 backdrop-blur-md bg-black/10 dark:bg-white/10"> <Note.Root className="shrink-0 flex flex-col gap-1 rounded-lg p-2 backdrop-blur-md bg-black/10 dark:bg-white/10">
<User.Provider pubkey={event.pubkey}> <User.Provider pubkey={event.pubkey}>
@@ -304,5 +309,6 @@ function TextNote({ event }: { event: NostrEvent }) {
</div> </div>
</Note.Root> </Note.Root>
</Note.Provider> </Note.Provider>
</button>
); );
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB