Switch default relay icon fallback

This commit is contained in:
Jon Staab 2026-08-27 17:08:36 -07:00
parent 31890dfe90
commit e79c97d73f
2 changed files with 4 additions and 4 deletions

View file

@ -24,5 +24,5 @@
onclick={onClick}
title={showTooltip ? $display : ""}
notification={$notifications.has(path)}>
<RelayIcon {url} size={10} class="rounded-full" />
<RelayIcon {url} size={10} />
</PrimaryNavItem>

View file

@ -1,5 +1,5 @@
<script lang="ts">
import RemoteControllerMinimalistic from "@assets/icons/remote-controller-minimalistic.svg?dataurl"
import Server from "@assets/icons/server.svg?dataurl"
import ImageIcon from "@lib/components/ImageIcon.svelte"
import {relays} from "@app/core"
@ -15,7 +15,7 @@
</script>
{#if $relay?.icon}
<ImageIcon {size} alt="" src={$relay?.icon} class={props.class} />
<ImageIcon {size} alt="" src={$relay?.icon} class="rounded-full {props.class}" />
{:else}
<ImageIcon size={size - 2} alt="" src={RemoteControllerMinimalistic} class={props.class} />
<ImageIcon size={size - 2} alt="" src={Server} class={props.class} />
{/if}