Skip to content

Commit 4115d46

Browse files
committed
Fix replacement theme issues
Fix replacement theme issues
1 parent 021d7e5 commit 4115d46

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
/src/WPFDevelopers/bin
66
/src/WPFDevelopers/obj
7+
/src/WPFDevelopers.Samples/publish
8+
/src/WPFDevelopers.Samples/WPFDevelopers.Samples_TemporaryKey.pfx
79
/src/WPFDevelopers.Samples/bin
810
/src/WPFDevelopers.Samples/obj
911
/src/.vs

src/WPFDevelopers.Shared/Helpers/ControlsHelper.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public static void ToggleLightAndDark(bool isDark = false)
6969

7070
public static void ThemeRefresh()
7171
{
72-
var themePath = "pack://application:,,,/WPFDevelopers.Minimal;component/Themes/Theme.xaml";
72+
var themePath = "pack://application:,,,/WPFDevelopers;component/Themes/Theme.xaml";
7373
var themeResourceDictionary =
7474
Application.Current.Resources.MergedDictionaries.FirstOrDefault(x =>
7575
x.Source != null && x.Source.Equals(themePath));

0 commit comments

Comments
 (0)