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 : (