Skip to content

Commit 36c1659

Browse files
committed
fix: track system theme changes in demo project #28
1 parent f9fea90 commit 36c1659

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Wpf.Ui.Test/MainWindow.xaml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public MainWindow()
4747
partial void OnThemeIndexChanged(int value)
4848
{
4949
ThemeManager.Apply((ApplicationTheme)value);
50+
ThemeManager.TrackSystemThemeChanges(isTracked: (ApplicationTheme)value == ApplicationTheme.Unknown);
5051
}
5152

5253
[RelayCommand]

0 commit comments

Comments
 (0)