Skip to content

Commit

Permalink
fix: Add default back button icon for NavBar
Browse files Browse the repository at this point in the history
  • Loading branch information
silviuo committed Jun 19, 2023
1 parent d5641ce commit f0e956e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ private Shell BuildShell()
AddNavigationItems(nv);

// landing navigation
ShellNavigateTo<NavigationBarSamplePage>(
ShellNavigateTo<RuntimeTestRunner>(
#if WINDOWS_UWP
// note: on uwp, NavigationView.SelectedItem MUST be set on launch to avoid entering compact-mode
trySynchronizeCurrentItem: true
Expand Down
2 changes: 1 addition & 1 deletion src/Uno.Toolkit.UI/Uno.Toolkit.UI.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="MSBuild.Sdk.Extras/3.0.38">
<!--
Adding project references to this project requires some manual adjustments.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@
<FrameworkLineage>WinUI</FrameworkLineage>
<UnoXamlResourcesTrimming Condition="'$(OS)'=='Windows_NT' or '$(MSBuildRuntimeType)'=='Core'">true</UnoXamlResourcesTrimming>
</PropertyGroup>
<ItemGroup>
<ExcludeXamlNamespaces Include="uwp_navbar" />
<IncludeXamlNamespaces Include="winui_navbar" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Uno.Material.WinUI" />
<PackageReference Include="Uno.WinUI" />
Expand Down

0 comments on commit f0e956e

Please sign in to comment.