From 47f6d5d360eb9578c84604a3cdd43938bec3481f Mon Sep 17 00:00:00 2001 From: shiibe <82057235+shiibe@users.noreply.github.com> Date: Wed, 27 Mar 2024 00:03:55 -0400 Subject: [PATCH] Fix --- TaikoWebUI/Shared/MainLayout.razor | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/TaikoWebUI/Shared/MainLayout.razor b/TaikoWebUI/Shared/MainLayout.razor index ccc0f9d..5f91d23 100644 --- a/TaikoWebUI/Shared/MainLayout.razor +++ b/TaikoWebUI/Shared/MainLayout.razor @@ -11,7 +11,7 @@ - + TaikoWebUI @@ -46,4 +46,9 @@ _drawerOpen = !_drawerOpen; await localStorage.SetItemAsync("drawerOpen", _drawerOpen); } + + private void ToggleDrawer() + { + _drawerOpen = !_drawerOpen; + } } \ No newline at end of file