Timothy J. Baek hace 11 meses
padre
commit
d4b10097d2
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      src/lib/components/layout/Sidebar.svelte

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

@@ -325,7 +325,10 @@
 					on:click={() => {
 						selectedChatId = null;
 						chatId.set('');
-						showSidebar.set(!$showSidebar);
+
+						if ($mobile) {
+							showSidebar.set(false);
+						}
 					}}
 					draggable="false"
 				>