File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public HotKey HotKey
2323 public Task ExecuteAsync ( object ? parameter = null )
2424 {
2525 var dialog = dialogService . GetDialog ( viewModel ) ;
26- if ( parameter is not null && parameter is SettingsDialogNavigationParams navParams )
26+ if ( parameter is not null && parameter is SettingsNavigationParams navParams )
2727 ( ( SettingsDialog ) dialog ) . NavigateTo ( navParams ) ;
2828
2929 return dialog . TryShowAsync ( ) ;
Original file line number Diff line number Diff line change 33
44namespace Files . App . Data . Parameters
55{
6- public sealed class SettingsDialogNavigationParams
6+ public sealed class SettingsNavigationParams
77 {
88 public SettingsPageKind PageKind { get ; set ; }
99 }
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public SettingsDialog()
2828 return ( DialogResult ) await base . ShowAsync ( ) ;
2929 }
3030
31- public void NavigateTo ( SettingsDialogNavigationParams navParams )
31+ public void NavigateTo ( SettingsNavigationParams navParams )
3232 {
3333 var defaultTag = SettingsPageKind . AppearancePage . ToString ( ) ;
3434 var oldSelection = MainSettingsNavigationView . MenuItems . FirstOrDefault ( item => ( ( NavigationViewItem ) item ) . IsSelected ) as NavigationViewItem ;
Original file line number Diff line number Diff line change @@ -1076,7 +1076,7 @@ private List<ContextMenuFlyoutItemViewModel> GetLocationItemMenuItems(INavigatio
10761076 Text = "ManageTags" . GetLocalizedResource ( ) ,
10771077 Glyph = "\uE8EC " ,
10781078 Command = Commands . OpenSettings ,
1079- CommandParameter = new SettingsDialogNavigationParams ( ) { PageKind = SettingsPageKind . TagsPage } ,
1079+ CommandParameter = new SettingsNavigationParams ( ) { PageKind = SettingsPageKind . TagsPage } ,
10801080 ShowItem = options . IsTagsHeader
10811081 }
10821082 } . Where ( x => x . ShowItem ) . ToList ( ) ;
You can’t perform that action at this time.
0 commit comments