From 61305ca00f458716f9b14b6161f55d05d7405e68 Mon Sep 17 00:00:00 2001 From: Daniel Clark Date: Sun, 7 Feb 2021 11:22:26 +0000 Subject: [PATCH] Ensure the flyout respects the given RequestedTheme... although it doesn't seem to be picking up the theme changes from Windows user settings just yet... --- .../NotificationFlyoutPresenter.xaml | 28 ++----------------- .../NotificationFlyoutPresenter.xaml.cs | 13 +++++++++ .../SampleNotificationFlyout.xaml | 3 +- .../NotificationFlyoutPresenter.xaml | 13 ++++++++- .../NotificationFlyout/NotificationFlyout.cs | 8 +++++- 5 files changed, 37 insertions(+), 28 deletions(-) diff --git a/NotificationFlyout.Sample/NotificationFlyoutPresenter.xaml b/NotificationFlyout.Sample/NotificationFlyoutPresenter.xaml index c3d79bf..88cdfea 100644 --- a/NotificationFlyout.Sample/NotificationFlyoutPresenter.xaml +++ b/NotificationFlyout.Sample/NotificationFlyoutPresenter.xaml @@ -3,34 +3,12 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="using:NotificationFlyout.Uwp.UI.Controls" - CornerRadius="8"> + CornerRadius="4" + RequestedTheme="Default"> - - - - - - - - - - - -