private void OnAppSettingsChanged(AppSettingsChangedMessage obj) { if (obj.PropertyName == nameof(Core.AppSettings.UserRequestedTheme)) { _ = Dispatcher.RunAsync(CoreDispatcherPriority.Normal, UpdateColors); } }
private void OnAppSettingsChanged(AppSettingsChangedMessage msg) { switch (msg.PropertyName) { case nameof(AppSettings.UseFontForPreview): OnFontPreviewUpdated(); break; } }
private void OnAppSettingsChanged(AppSettingsChangedMessage msg) { switch (msg.PropertyName) { case nameof(AppSettings.UseFontForPreview): OnFontPreviewUpdated(); break; //case nameof(AppSettings.ApplicationDesignTheme): // UpdateDesignTheme(); // break; } }
private void OnAppSettingsChanged(AppSettingsChangedMessage msg) { switch (msg.PropertyName) { case nameof(AppSettings.UseFontForPreview): OnFontPreviewUpdated(); break; case nameof(AppSettings.UserRequestedTheme): this.RequestedTheme = ViewModel.Settings.UserRequestedTheme; OnPropertyChanged(nameof(ThemeLock)); break; } }