From 1f7fda3b83477983eb9d4bbb13047f5286c6a3af Mon Sep 17 00:00:00 2001
From: XanatosX <10531466+XanatosX@users.noreply.github.com>
Date: Thu, 16 Feb 2023 20:02:17 +0100
Subject: [PATCH] Add missing summary blocks
---
src/ModularToolManager/ViewModels/MainWindowViewModel.cs | 7 +++++++
1 file changed, 7 insertions(+)
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;