From c4e306d5691ccfbafaa88514b8262d384b32f025 Mon Sep 17 00:00:00 2001 From: 01zulfi <85733202+01zulfi@users.noreply.github.com> Date: Wed, 16 Jul 2025 13:55:21 +0500 Subject: [PATCH] web: fix nav pane on small screens Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com> --- apps/web/src/app.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/web/src/app.tsx b/apps/web/src/app.tsx index 49ca2f653..53b5758ce 100644 --- a/apps/web/src/app.tsx +++ b/apps/web/src/app.tsx @@ -60,6 +60,14 @@ function App() { useSettingStore.getState().desktopIntegrationSettings?.nativeTitlebar; console.timeEnd("loading app"); + useEffect(() => { + if (isMobile) { + useStore.setState({ + isNavPaneCollapsed: false + }); + } + }, [isMobile]); + return ( <> {isFocused ? null : (