From cb837f034c8f469aabfe12b46f7db0de13c11cc3 Mon Sep 17 00:00:00 2001 From: Daniel Clark Date: Tue, 9 Feb 2021 19:08:10 +0000 Subject: [PATCH] Possible fix when inapp theme is changed --- samples/NotificationFlyoutSample/Shell.xaml | 5 +++ .../NotificationFlyoutSample/Shell.xaml.cs | 39 +++++++++---------- .../NotificationFlyout.Uwp.UI.Controls.csproj | 2 +- .../NotificationFlyoutHost.xaml | 6 +-- .../NotificationFlyoutContentPresenter.cs | 12 ------ .../NotificationFlyoutPresenter.cs | 27 +++++++++++++ ....xaml => NotificationFlyoutPresenter.xaml} | 7 ++-- .../Themes/Generic.xaml | 5 +-- .../Helpers/NotificationIconHelper.cs | 2 +- src/NotificationFlyout.sln | 8 ++-- 10 files changed, 64 insertions(+), 49 deletions(-) delete mode 100644 src/NotificationFlyout.Uwp.UI.Controls/NotificationFlyoutPresenter/NotificationFlyoutContentPresenter.cs create mode 100644 src/NotificationFlyout.Uwp.UI.Controls/NotificationFlyoutPresenter/NotificationFlyoutPresenter.cs rename src/NotificationFlyout.Uwp.UI.Controls/NotificationFlyoutPresenter/{NotificationFlyoutContentPresenter.xaml => NotificationFlyoutPresenter.xaml} (96%) diff --git a/samples/NotificationFlyoutSample/Shell.xaml b/samples/NotificationFlyoutSample/Shell.xaml index 4168d62..4b00e6c 100644 --- a/samples/NotificationFlyoutSample/Shell.xaml +++ b/samples/NotificationFlyoutSample/Shell.xaml @@ -7,6 +7,11 @@ Width="330" Height="500" Margin="24"> + + + + +