public PersonasViewModel(ErrorHandler errorHandler) { this.errorHandler = errorHandler; Title = "Personas"; nextButtonBackgroundColor = Color.Transparent; buttonBorder = (Color)Application.Current.Resources["AccentColor"]; personas = new List <PersonaWrapper>(); pairedPersonas = new ObservableCollection <PersonaContainer>(); userPersonas = UserPersonas.GetInstance(); updatePairedPersonas(); }
public SettingsViewModel() { userPersonas = UserPersonas.GetInstance(); personas = userPersonas.GetAllPersonas(); if (App.algorithm == "sar") { sarCheck = "True"; lgbmCheck = "False"; } else { sarCheck = "False"; lgbmCheck = "True"; } OpenGitHubLink = new Command(OpenGitHub); }