Hide voice rooms on mobile
This commit is contained in:
@@ -268,7 +268,9 @@
|
||||
<SpaceMenuRoomItem notify {replaceState} {url} {h} />
|
||||
{/if}
|
||||
{#if $roomsWithLivekit.has(h)}
|
||||
<VoiceRoomItem {url} {h} />
|
||||
<div class="hidden md:block">
|
||||
<VoiceRoomItem {url} {h} />
|
||||
</div>
|
||||
{/if}
|
||||
{/each}
|
||||
{#if $otherRooms.length > 0}
|
||||
@@ -293,12 +295,14 @@
|
||||
{/if}
|
||||
{/each}
|
||||
{#if $otherVoiceRooms.length > 0}
|
||||
<div class="h-2"></div>
|
||||
<SecondaryNavHeader>Voice Rooms</SecondaryNavHeader>
|
||||
<div class="hidden md:block">
|
||||
<div class="h-2"></div>
|
||||
<SecondaryNavHeader>Voice Rooms</SecondaryNavHeader>
|
||||
{#each $otherVoiceRooms as h (h)}
|
||||
<VoiceRoomItem {url} {h} />
|
||||
{/each}
|
||||
</div>
|
||||
{/if}
|
||||
{#each $otherVoiceRooms as h (h)}
|
||||
<VoiceRoomItem {url} {h} />
|
||||
{/each}
|
||||
{#if $canCreateRoom}
|
||||
<SecondaryNavItem {replaceState} onclick={addRoom}>
|
||||
<Icon icon={AddCircle} />
|
||||
|
||||
Reference in New Issue
Block a user