Closed jlaanstra closed 10 years ago
This PR fixes an issue where a custom theme is not applied if the ResourceDictionary is not included in the MergedDictionaries section in app.xaml.
The Single() throws if it does not find a single ResourceDictionary with the specified Uri, so FirstOrDefault() would be a better option.
Single()
FirstOrDefault()
Awesome work, thank you. I will incorporate and ship the updated NuGet today if I have time at lunch.
This is published on NuGet.org now: 2.1.1.
This PR fixes an issue where a custom theme is not applied if the ResourceDictionary is not included in the MergedDictionaries section in app.xaml.
The
Single()
throws if it does not find a single ResourceDictionary with the specified Uri, soFirstOrDefault()
would be a better option.