Skip to content

Commit f61b54d

Browse files
author
Yair Aichenbaum
committed
Fixed settings page navigation
1 parent 066ba17 commit f61b54d

File tree

4 files changed

+20
-8
lines changed

4 files changed

+20
-8
lines changed

Files.Package/Files.Package.wapproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
<GenerateTestArtifacts>True</GenerateTestArtifacts>
6060
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
6161
<EntryPointProjectUniqueName>..\Files\Files.csproj</EntryPointProjectUniqueName>
62-
<PackageCertificateThumbprint>72235815D2912224F3229AE45F9386420BE848AA</PackageCertificateThumbprint>
62+
<PackageCertificateThumbprint>4BCB7C3E4C2C60760763F4E78EDEC8AA61CF3209</PackageCertificateThumbprint>
6363
</PropertyGroup>
6464
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
6565
<AppxBundle>Always</AppxBundle>

Files.Package/Package.appxmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" xmlns:desktop4="http://schemas.microsoft.com/appx/manifest/desktop/windows10/4" xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10" xmlns:uap5="http://schemas.microsoft.com/appx/manifest/uap/windows10/5" IgnorableNamespaces="uap uap5 mp rescap desktop4 desktop">
3-
<Identity Name="49306atecsolution.FilesUWP" Publisher="CN=Luke Blevins" Version="0.7.0.0" />
3+
<Identity Name="49306atecsolution.FilesUWP" Publisher="CN=53EC4384-7F5B-4CF6-8C23-513FFE9D1AB7" Version="0.7.0.0" />
44
<Properties>
55
<DisplayName>Files UWP - Preview</DisplayName>
66
<PublisherDisplayName>Yair A</PublisherDisplayName>

Files/Views/Pages/Settings.xaml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,38 +34,50 @@
3434
<muxc:NavigationViewItem
3535
x:Uid="SettingsNavAppearance"
3636
Content="Appearance"
37-
IsSelected="True">
37+
IsSelected="True"
38+
Tag="Appearance">
3839
<muxc:NavigationViewItem.Icon>
3940
<FontIcon Glyph="&#xE790;" />
4041
</muxc:NavigationViewItem.Icon>
4142
</muxc:NavigationViewItem>
4243
<muxc:NavigationViewItem
4344
x:Uid="SettingsNavOnStartup"
4445
Content="On Startup"
45-
IsSelected="True">
46+
IsSelected="True"
47+
Tag="On Startup">
4648
<muxc:NavigationViewItem.Icon>
4749
<FontIcon Glyph="&#xE7E8;" />
4850
</muxc:NavigationViewItem.Icon>
4951
</muxc:NavigationViewItem>
5052
<muxc:NavigationViewItem
5153
x:Uid="SettingsNavPageLayouts"
5254
Content="Page Layouts"
55+
Tag="Page Layouts"
5356
Visibility="Collapsed">
5457
<muxc:NavigationViewItem.Icon>
5558
<FontIcon Glyph="&#xE737;" />
5659
</muxc:NavigationViewItem.Icon>
5760
</muxc:NavigationViewItem>
58-
<muxc:NavigationViewItem x:Uid="SettingsNavPreferences" Content="Preferences">
61+
<muxc:NavigationViewItem
62+
x:Uid="SettingsNavPreferences"
63+
Content="Preferences"
64+
Tag="Preferences">
5965
<muxc:NavigationViewItem.Icon>
6066
<FontIcon Glyph="&#xE713;" />
6167
</muxc:NavigationViewItem.Icon>
6268
</muxc:NavigationViewItem>
63-
<muxc:NavigationViewItem x:Uid="SettingsNavFilesAndFolders" Content="Files and Folders">
69+
<muxc:NavigationViewItem
70+
x:Uid="SettingsNavFilesAndFolders"
71+
Content="Files and Folders"
72+
Tag="Files and Folders">
6473
<muxc:NavigationViewItem.Icon>
6574
<FontIcon Glyph="&#xEC50;" />
6675
</muxc:NavigationViewItem.Icon>
6776
</muxc:NavigationViewItem>
68-
<muxc:NavigationViewItem x:Uid="SettingsNavAbout" Content="About">
77+
<muxc:NavigationViewItem
78+
x:Uid="SettingsNavAbout"
79+
Content="About"
80+
Tag="About">
6981
<muxc:NavigationViewItem.Icon>
7082
<FontIcon Glyph="&#xE946;" />
7183
</muxc:NavigationViewItem.Icon>

Files/Views/Pages/Settings.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public Settings()
5151

5252
private void NavigationView_ItemInvoked(Microsoft.UI.Xaml.Controls.NavigationView sender, Microsoft.UI.Xaml.Controls.NavigationViewItemInvokedEventArgs args)
5353
{
54-
var item = args.InvokedItem;
54+
var item = args.InvokedItemContainer.Tag;
5555

5656
_= args.InvokedItem.ToString() switch
5757
{

0 commit comments

Comments
 (0)