protected override async Task OnInitializedAsync() { await Task.Delay(500); _showingDesktop = false; await OnToggleCamera.InvokeAsync(); }
private async Task ToggleDesktopCamera() { if (_showingDesktop) { await OnToggleDesktop.InvokeAsync(); } else { await OnToggleCamera.InvokeAsync(); } }