A little bit of cleanup

This commit is contained in:
Jon Staab
2026-03-13 13:13:36 -07:00
committed by mplorentz
parent 6fd2acc332
commit 00573580e4
7 changed files with 20 additions and 45 deletions
+1 -2
View File
@@ -21,14 +21,13 @@
const isVoiceRoomActive = $derived(
$currentVoiceSession?.url === url && $currentVoiceSession?.h === h,
)
const typeIconSrc = $derived(isVoiceRoomActive ? VolumeLoud : Volume)
</script>
{#if isVoiceRoom}
<div class="flex shrink-0 items-center gap-1.5">
<Icon
icon={typeIconSrc}
size={size + 1}
icon={isVoiceRoomActive ? VolumeLoud : Volume}
class={isVoiceRoomActive ? "text-primary -translate-x-0.5" : ""} />
{#if $room.picture}
<span class="text-base">/</span>