Ejemplo n.º 1
0
        public SettingsPageViewModel()
        {
            _selectedTab = 0;

            GeneralSettingsTab = new GeneralSettingsTabViewModel();
            PrivacySettingsTab = new PrivacySettingsTabViewModel();
            NetworkSettingsTab = new NetworkSettingsTabViewModel();
            BitcoinTabSettings = new BitcoinTabSettingsViewModel();
        }
Ejemplo n.º 2
0
        public SettingsPageViewModel(Config config, UiConfig uiConfig)
        {
            _selectedTab = 0;

            GeneralSettingsTab = new GeneralSettingsTabViewModel(config, uiConfig);
            PrivacySettingsTab = new PrivacySettingsTabViewModel(config);
            NetworkSettingsTab = new NetworkSettingsTabViewModel(config);
            BitcoinTabSettings = new BitcoinTabSettingsViewModel(config);
        }
        public SettingsPageViewModel()
        {
            _selectedTab = 0;

            GeneralSettingsTab = new GeneralSettingsTabViewModel();
            PrivacySettingsTab = new PrivacySettingsTabViewModel();
            NetworkSettingsTab = new NetworkSettingsTabViewModel();
            BitcoinTabSettings = new BitcoinTabSettingsViewModel();

            RestartCommand = ReactiveCommand.Create(AppLifetimeHelper.Restart);
        }