From b9e0669c4639b1bbd377ba7b5bc6a45bdac710e1 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Mon, 21 Jul 2025 10:27:25 +0800 Subject: [PATCH] Intialize translations in InitAsync --- .../ViewModels/SettingsViewModel.cs | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs b/Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs index 229fec868..2d636d01a 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs @@ -592,18 +592,7 @@ namespace Flow.Launcher.Plugin.Explorer.ViewModels #region Everything FastSortWarning - private List _allEverythingSortOptions = new(); - public List AllEverythingSortOptions - { - get - { - if (_allEverythingSortOptions.Count == 0) - { - _allEverythingSortOptions = EverythingSortOptionLocalized.GetValues(); - } - return _allEverythingSortOptions; - } - } + public List AllEverythingSortOptions = EverythingSortOptionLocalized.GetValues(); public EverythingSortOption SelectedEverythingSortOption {