diff --git a/src/ModularToolManager/ViewModels/MainWindowViewModel.cs b/src/ModularToolManager/ViewModels/MainWindowViewModel.cs index a2d10c6..dd164fa 100644 --- a/src/ModularToolManager/ViewModels/MainWindowViewModel.cs +++ b/src/ModularToolManager/ViewModels/MainWindowViewModel.cs @@ -149,6 +149,10 @@ public MainWindowViewModel( }); } + /// + /// Switch the theme for the window + /// + /// The theme id to switch to private void SwitchTheme(int themeId) { var theme = themeService.GetStyleById(themeId); @@ -163,6 +167,9 @@ private void SwitchTheme(int themeId) themeService.ChangeApplicationTheme(theme); } + /// + /// Switch the theme for the window based on the settings + /// private void SwitchTheme() { int themeId = settingsService.GetApplicationSettings().SelectedThemeId;