1
0
mirror of synced 2024-11-24 06:50:15 +01:00
This commit is contained in:
shiibe 2024-03-27 00:03:55 -04:00
parent 0a2e9a08ba
commit 47f6d5d360

View File

@ -11,7 +11,7 @@
<MudSpacer />
<ChooseLanguage />
</MudAppBar>
<MudDrawer Elevation="0" Style="border-right:1px solid #ededf0" Open="@_drawerOpen">
<MudDrawer Elevation="0" Style="border-right:1px solid #ededf0" @bind-Open="_drawerOpen">
<MudDrawerHeader>
<MudText Typo="Typo.h6">TaikoWebUI</MudText>
</MudDrawerHeader>
@ -46,4 +46,9 @@
_drawerOpen = !_drawerOpen;
await localStorage.SetItemAsync("drawerOpen", _drawerOpen);
}
private void ToggleDrawer()
{
_drawerOpen = !_drawerOpen;
}
}