Browse Source

refac/fix: sidebar open status

Timothy Jaeryang Baek 4 months ago
parent
commit
292be82754
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/lib/components/layout/Sidebar.svelte

+ 0 - 4
src/lib/components/layout/Sidebar.svelte

@@ -369,10 +369,6 @@
 						navElement.style['-webkit-app-region'] = 'drag';
 					}
 				}
-
-				if (!$showSidebar && !value) {
-					showSidebar.set(true);
-				}
 			}),
 			showSidebar.subscribe(async (value) => {
 				localStorage.sidebar = value;