public SettingsPageViewModel()
        {
            _selectedTab = 0;

            GeneralSettingsTab = new GeneralSettingsTabViewModel();
            PrivacySettingsTab = new PrivacySettingsTabViewModel();
            NetworkSettingsTab = new NetworkSettingsTabViewModel();
            BitcoinTabSettings = new BitcoinTabSettingsViewModel();
        }
Example #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);
        }