diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs b/Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs index 5d6eca0ad..4598d36d0 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs @@ -179,7 +179,7 @@ namespace Flow.Launcher.Plugin.Explorer.ViewModels var container = containerName switch { "QuickAccessLink" => Settings.QuickAccessLinks, - "IndexSearchExcludedPath" => Settings.IndexSearchExcludedSubdirectoryPaths, + "IndexSearchExcludedPaths" => Settings.IndexSearchExcludedSubdirectoryPaths, _ => throw new ArgumentException($"Unknown container name: {containerName}") }; container.Add(link); @@ -190,7 +190,7 @@ namespace Flow.Launcher.Plugin.Explorer.ViewModels (AccessLink selectedLink, ObservableCollection collection) = commandParameter switch { "QuickAccessLink" => (SelectedQuickAccessLink, Settings.QuickAccessLinks), - "IndexSearchExcludedPath" => (SelectedIndexSearchExcludedPath, Settings.IndexSearchExcludedSubdirectoryPaths), + "IndexSearchExcludedPaths" => (SelectedIndexSearchExcludedPath, Settings.IndexSearchExcludedSubdirectoryPaths), _ => throw new ArgumentOutOfRangeException(nameof(commandParameter)) }; @@ -409,4 +409,4 @@ namespace Flow.Launcher.Plugin.Explorer.ViewModels } -} \ No newline at end of file +}