don't show presence sidebar if sidebar is present

This commit is contained in:
hippoz 2022-08-08 05:39:03 +03:00
parent e31d8c5973
commit 9a8b769e95
No known key found for this signature in database
GPG key ID: 7C52899193467641

View file

@ -46,7 +46,7 @@
<OverlayProvider /> <OverlayProvider />
<div class="flex-container"> <div class="flex-container">
{#if $showSidebar || $selectedChannel.id === -1} {#if !($smallViewport && $showPresenceSidebar) && $showSidebar || $selectedChannel.id === -1}
<Sidebar /> <Sidebar />
{/if} {/if}
{#if !($smallViewport && $showSidebar) && !($smallViewport && $showPresenceSidebar) && $showChannelView && $selectedChannel.id !== -1} {#if !($smallViewport && $showSidebar) && !($smallViewport && $showPresenceSidebar) && $showChannelView && $selectedChannel.id !== -1}