From 0eedb7b0f4e09478e94af212226195bb5a9679f4 Mon Sep 17 00:00:00 2001 From: Vic <10308169+VictoriousRaptor@users.noreply.github.com> Date: Thu, 3 Nov 2022 15:56:48 +0800 Subject: [PATCH] renaming --- Flow.Launcher/SettingWindow.xaml | 2 +- Flow.Launcher/ViewModel/SettingWindowViewModel.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml index 2226a7d3c..45f0119a1 100644 --- a/Flow.Launcher/SettingWindow.xaml +++ b/Flow.Launcher/SettingWindow.xaml @@ -2525,7 +2525,7 @@ Background="{DynamicResource Color02B}" BorderBrush="DarkGray" BorderThickness="1" - ItemsSource="{Binding ShortCuts}" + ItemsSource="{Binding CustomShortcuts}" SelectedItem="{Binding SelectedCustomShortcut}" Style="{StaticResource {x:Static GridView.GridViewStyleKey}}"> diff --git a/Flow.Launcher/ViewModel/SettingWindowViewModel.cs b/Flow.Launcher/ViewModel/SettingWindowViewModel.cs index 539a63c36..389af9a45 100644 --- a/Flow.Launcher/ViewModel/SettingWindowViewModel.cs +++ b/Flow.Launcher/ViewModel/SettingWindowViewModel.cs @@ -223,7 +223,7 @@ namespace Flow.Launcher.ViewModel public List Languages => _translater.LoadAvailableLanguages(); public IEnumerable MaxResultsRange => Enumerable.Range(2, 16); - public ObservableCollection ShortCuts => Settings.CustomShortcuts; + public ObservableCollection CustomShortcuts => Settings.CustomShortcuts; public string TestProxy() { @@ -739,4 +739,4 @@ namespace Flow.Launcher.ViewModel } #endregion } -} \ No newline at end of file +}