Possible fix when inapp theme is changed

This commit is contained in:
Daniel Clark
2021-02-09 19:08:10 +00:00
parent 732a25d03a
commit cb837f034c
10 changed files with 64 additions and 49 deletions
@@ -21,7 +21,7 @@ namespace NotificationFlyout.Wpf.UI.Helpers
{
_windowHandle = window.GetHandle();
var source = HwndSource.FromHwnd(_windowHandle);
HwndSource source = HwndSource.FromHwnd(_windowHandle);
source.AddHook(new HwndSourceHook(WndProc));
CreateNotificationIcon();