Skip to content

Commit

Permalink
fix(settings): Toggle sidebar visibility on mobile navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
lgmarchi committed Dec 5, 2024
1 parent 10a028c commit 14ca265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/settings/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
vertical
on:navigate={e => {
let sideBarIsOpened = get(UIStore.state.sidebarOpen)
if (sideBarIsOpened) {
if (sideBarIsOpened && checkMobile()) {
UIStore.toggleSidebar()
}
goto(e.detail)
Expand Down

0 comments on commit 14ca265

Please sign in to comment.