diff --git a/Flow.Launcher/Languages/en.xaml b/Flow.Launcher/Languages/en.xaml index 24ab3cf94..b869a82e1 100644 --- a/Flow.Launcher/Languages/en.xaml +++ b/Flow.Launcher/Languages/en.xaml @@ -134,6 +134,10 @@ Change Action Keywords Plugin seach delay time Change Plugin Seach Delay Time + Advanced Settings: + Enabled + Priority + Search Delay Current Priority New Priority Priority diff --git a/Flow.Launcher/SettingPages/ViewModels/SettingsPanePluginsViewModel.cs b/Flow.Launcher/SettingPages/ViewModels/SettingsPanePluginsViewModel.cs index 69d31a98d..5d55e8e2f 100644 --- a/Flow.Launcher/SettingPages/ViewModels/SettingsPanePluginsViewModel.cs +++ b/Flow.Launcher/SettingPages/ViewModels/SettingsPanePluginsViewModel.cs @@ -14,9 +14,24 @@ public class SettingsPanePluginsViewModel : BaseModel { private readonly Settings _settings; + private string _selectedDisplayMode = "OnOff"; + public string SelectedDisplayMode + { + get => _selectedDisplayMode; + set + { + if (_selectedDisplayMode != value) + { + _selectedDisplayMode = value; + OnPropertyChanged(nameof(SelectedDisplayMode)); + UpdateDisplayModeFromSelection(); + } + } + } + public void UpdateDisplayModeFromSelection() { - switch (CurrentDisplayMode) + switch (SelectedDisplayMode) { case "OnOff": IsOnOffSelected = true; diff --git a/Flow.Launcher/SettingPages/Views/SettingsPanePlugins.xaml b/Flow.Launcher/SettingPages/Views/SettingsPanePlugins.xaml index 23ec6d242..bfab94f20 100644 --- a/Flow.Launcher/SettingPages/Views/SettingsPanePlugins.xaml +++ b/Flow.Launcher/SettingPages/Views/SettingsPanePlugins.xaml @@ -43,25 +43,31 @@ VerticalAlignment="Center" FontSize="14" Foreground="{DynamicResource Color15B}" - Text="Advanced Settings:" /> + Text="{DynamicResource FilterComboboxLabel}" /> - - - + + + + + + + + +