Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ThemeManager.ChangeAppStyle from separate thread doesn't take effect every 4th time #2972
When I call ThemeManager.ChangeAppStyle from a separate thread the application style is not changed every 4th time, and ThemeManager.IsThemeChanged is not called.
I have a small example to reproduce this issue.
There is a log file, called "valami.log" which contains:
2017.05.22. 12:43:29 - Changing theme to Red
Thanks in advance!
Ok, this is partially cause by a mistake you made and a "bug" in
You add all themes you use in App.xaml whereas you only should add one. If you only add one, the issue is gone.
This kind of issue is caused because