From 31ce6099a2e921243bc2118dc7999c9497c23a8d Mon Sep 17 00:00:00 2001 From: xiaoy312 Date: Tue, 5 Dec 2023 18:06:19 -0500 Subject: [PATCH] debug --- .../Uno.Toolkit.Samples.Shared/App.xaml.Navigation.cs | 3 ++- .../Uno.Toolkit.Samples.Shared/Shell.xaml.cs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/samples/Uno.Toolkit.Samples/Uno.Toolkit.Samples.Shared/App.xaml.Navigation.cs b/samples/Uno.Toolkit.Samples/Uno.Toolkit.Samples.Shared/App.xaml.Navigation.cs index 972711d97..8bfe1b3ee 100644 --- a/samples/Uno.Toolkit.Samples/Uno.Toolkit.Samples.Shared/App.xaml.Navigation.cs +++ b/samples/Uno.Toolkit.Samples/Uno.Toolkit.Samples.Shared/App.xaml.Navigation.cs @@ -25,6 +25,7 @@ using MUXC = Microsoft.UI.Xaml.Controls; using MUXCP = Microsoft.UI.Xaml.Controls.Primitives; +using Uno.Toolkit.Samples.Content.Helpers; namespace Uno.Toolkit.Samples { @@ -86,7 +87,7 @@ private Shell BuildShell() AddNavigationItems(nv); // landing navigation - ShellNavigateTo( + ShellNavigateTo( #if WINDOWS_UWP // note: on uwp, NavigationView.SelectedItem MUST be set on launch to avoid entering compact-mode trySynchronizeCurrentItem: true diff --git a/samples/Uno.Toolkit.Samples/Uno.Toolkit.Samples.Shared/Shell.xaml.cs b/samples/Uno.Toolkit.Samples/Uno.Toolkit.Samples.Shared/Shell.xaml.cs index 9e2d64ef3..808f95727 100644 --- a/samples/Uno.Toolkit.Samples/Uno.Toolkit.Samples.Shared/Shell.xaml.cs +++ b/samples/Uno.Toolkit.Samples/Uno.Toolkit.Samples.Shared/Shell.xaml.cs @@ -66,7 +66,7 @@ public Shell() private void OnLoaded(object sender, RoutedEventArgs e) { -#if DEBUG && false +#if DEBUG && true ActivateDebugPanel(); #endif SetDarkLightToggleInitialState();