@using LANCommander.Client.Models @using System.Diagnostics @inject DownloadService DownloadService @inject SDK.Client Client @inject GameService GameService @code { bool DownloadQueueVisible = false; protected override async Task OnInitializedAsync() { DownloadService.OnQueueChanged += async () => { await InvokeAsync(StateHasChanged); }; } async Task ShowDownloadQueue() { DownloadQueueVisible = true; } }