macos active app icon retrieval
This commit is contained in:
@@ -93,7 +93,14 @@
|
||||
)})
|
||||
</span>
|
||||
|
||||
<span class="font-mono text-xs badge py-3">
|
||||
<span class="font-mono text-xs badge py-3 flex items-center gap-2">
|
||||
{#if appMetadata?.appIconB64}
|
||||
<img
|
||||
src={`data:image/png;base64,${appMetadata.appIconB64}`}
|
||||
alt="Active app icon"
|
||||
class="size-4"
|
||||
/>
|
||||
{/if}
|
||||
{appMetadata?.localized}
|
||||
</span>
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type AppMetadata = { localized: string | null, unlocalized: string | null, };
|
||||
export type AppMetadata = { localized: string | null, unlocalized: string | null, appIconB64: string | null, };
|
||||
|
||||
Reference in New Issue
Block a user