mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +02:00
New settings pages (XAML) and improvements to ShellPage. Added more styles for typical margins and textblocks (#1735)
This commit is contained in:
committed by
Lavius Motileng
parent
4243feaf37
commit
a84be2ba60
@@ -35,14 +35,14 @@ namespace Microsoft.PowerToys.Settings.UI.Views
|
||||
/// <inheritdoc/>
|
||||
protected override void OnNavigatedTo(NavigationEventArgs e)
|
||||
{
|
||||
GeneralSettings settings = SettingsUtils.GetSettings<GeneralSettings>(string.Empty);
|
||||
//GeneralSettings settings = SettingsUtils.GetSettings<GeneralSettings>(string.Empty);
|
||||
base.OnNavigatedTo(e);
|
||||
|
||||
// load and apply theme settings
|
||||
this.ReLoadTheme(settings.theme);
|
||||
// this.ReLoadTheme(settings.theme);
|
||||
|
||||
// load run on start up ui settings value and update the ui state.
|
||||
this.ToggleSwitch_RunAtStartUp.IsOn = settings.startup;
|
||||
//this.ToggleSwitch_RunAtStartUp.IsOn = settings.startup;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user