protected override async Task OnInitializedAsync() { await Hub.Connect(RoomCode, this, NavigationManager, JSRuntime, Tabletop); PlayPingSound = await JSRuntime.InvokeAsync <bool>("GetSetting", "pingDisabled"); PlayAlertSound = await JSRuntime.InvokeAsync <bool>("GetSetting", "alertDisabled"); PlayNotificationSound = await JSRuntime.InvokeAsync <bool>("GetSetting", "notificationDisabled"); PlayLoadingSound = await JSRuntime.InvokeAsync <bool>("GetSetting", "loadingDisabled"); PlayDeathSound = await JSRuntime.InvokeAsync <bool>("GetSetting", "deathCelebrationSoundDisabled"); HighQualityEffects = await JSRuntime.InvokeAsync <bool>("GetSetting", "highQualityEffectsDisabled"); DeathCelebrations = await JSRuntime.InvokeAsync <bool>("GetSetting", "deathCelebrationsDisabled"); }