diff --git a/app/src/lib/components/RootNav.svelte b/app/src/lib/components/RootNav.svelte index 99df60e..cb2a3bd 100644 --- a/app/src/lib/components/RootNav.svelte +++ b/app/src/lib/components/RootNav.svelte @@ -2,10 +2,10 @@ import Logo from './Logo.svelte'; import SearchSlideSheet from './SlideSheet.svelte'; import Sidebar from './Sidebar.svelte'; - import { Button } from './ui/button'; import { getAppContext } from '$lib/stores/appContext.svelte'; import { invalidateAll } from '$app/navigation'; import { mediaBreakPoints$ } from '@/utils/mediaBreakpoints'; + import SidebarToggleButton from './SidebarToggleButton.svelte'; export let sessionId: string; @@ -28,20 +28,9 @@ - {/if} - - {#if $mdAndUp} + {:else}
- + openSettingsDrawer$.update((v) => !v)} />
{/if} diff --git a/app/src/lib/components/SidebarToggleButton.svelte b/app/src/lib/components/SidebarToggleButton.svelte new file mode 100644 index 0000000..8c1501b --- /dev/null +++ b/app/src/lib/components/SidebarToggleButton.svelte @@ -0,0 +1,15 @@ + + + diff --git a/app/src/lib/components/SlideSheet.svelte b/app/src/lib/components/SlideSheet.svelte index 19d4772..c1584f5 100644 --- a/app/src/lib/components/SlideSheet.svelte +++ b/app/src/lib/components/SlideSheet.svelte @@ -1,21 +1,12 @@ - +