refac/fix: sidebar open status

This commit is contained in:
Timothy Jaeryang Baek committed 2025-10-28 17:31:38 -07:00
1 parent a0068c4a17
commit 292be82754
1 file changed
-4
-4
View File
@@ -369,10 +369,6 @@
navElement.style['-webkit-app-region'] = 'drag'; navElement.style['-webkit-app-region'] = 'drag';
} }
} }
if (!$showSidebar && !value) {
showSidebar.set(true);
}
}), }),
showSidebar.subscribe(async (value) => { showSidebar.subscribe(async (value) => {
localStorage.sidebar = value; localStorage.sidebar = value;