mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-23 19:49:43 +01:00
Merge dev/jaime/fix-calc-and-command-fallback-icons
This commit is contained in:
@@ -42,12 +42,8 @@ public sealed partial class SettingsWindow : Window,
|
||||
|
||||
private void NavView_ItemInvoked(NavigationView sender, NavigationViewItemInvokedEventArgs args)
|
||||
{
|
||||
var selectedItem = args.InvokedItem;
|
||||
|
||||
if (selectedItem is not null)
|
||||
{
|
||||
Navigate(selectedItem.ToString()!);
|
||||
}
|
||||
var selectedItem = args.InvokedItemContainer;
|
||||
Navigate((selectedItem.Tag as string)!);
|
||||
}
|
||||
|
||||
private void Navigate(string page)
|
||||
|
||||
Reference in New Issue
Block a user