From f8c6a321d0cb5ab8eab6fe7ef4c006e104baaf2f Mon Sep 17 00:00:00 2001 From: NeoCoderMatrix86 <40752681+NeoCoderMatrix86@users.noreply.github.com> Date: Fri, 20 Dec 2024 10:57:40 +0100 Subject: [PATCH] Update MainLayout.razor --- AudioCuesheetEditor/Shared/Layouts/MainLayout.razor | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/AudioCuesheetEditor/Shared/Layouts/MainLayout.razor b/AudioCuesheetEditor/Shared/Layouts/MainLayout.razor index 3b0396ec..d762153c 100644 --- a/AudioCuesheetEditor/Shared/Layouts/MainLayout.razor +++ b/AudioCuesheetEditor/Shared/Layouts/MainLayout.razor @@ -36,8 +36,8 @@ along with Foobar. If not, see - - + + @@ -60,12 +60,11 @@ along with Foobar. If not, see @code { - //TODO - bool _drawerOpen = false; + bool drawerOpen = false; - void DrawerToggle() + void ToggleDrawer() { - _drawerOpen = !_drawerOpen; + drawerOpen = !drawerOpen; } async Task ReloadApplication()