Code Cleanup

This commit is contained in:
2026-04-05 01:40:26 +02:00
parent 46a63f9e06
commit 12b8aaee26
4 changed files with 5 additions and 7 deletions

View File

@@ -139,12 +139,14 @@ public partial class Workspace : IAsyncDisposable
};
if (State.IsCurrentUserAdmin)
{
items.Add(new()
{
Label = "Admin",
IsActive = State.IsAdminScreen,
OnSelected = () => Session.SwitchScreenAsync(ScreenAdmin)
});
}
return items;
}