private async void OnSelectedBaseColorSchemeChanged() { var selected = SelectedBaseColorScheme; if (selected is null) { return; } // Note: short delay to allow some animation await Task.Delay(200); _baseColorSchemeService.SetBaseColorScheme(selected.Name); }
private void OnSelectedBaseColorSchemeChanged() { _baseColorSchemeService.SetBaseColorScheme(SelectedBaseColorScheme); }