From 12e6e6cc879c869cc63d8d9eafac221cf8fe4182 Mon Sep 17 00:00:00 2001 From: Dan Siegel Date: Wed, 17 Apr 2024 08:45:44 -0600 Subject: [PATCH] chore: add note for ! operator --- .../Navigators/ContentDialogNavigator.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Uno.Extensions.Navigation.UI/Navigators/ContentDialogNavigator.cs b/src/Uno.Extensions.Navigation.UI/Navigators/ContentDialogNavigator.cs index 1b6892274c..8c3878c2b6 100644 --- a/src/Uno.Extensions.Navigation.UI/Navigators/ContentDialogNavigator.cs +++ b/src/Uno.Extensions.Navigation.UI/Navigators/ContentDialogNavigator.cs @@ -51,6 +51,7 @@ services is null || } #if WINUI + // NOTE: We needed to add the ! operator on Content due to a nullability issue starting in Uno.WinUI 5.2 dialog.XamlRoot = Window!.Content!.XamlRoot; #endif