Skip to content

Commit b9e0669

Browse files
committed
Intialize translations in InitAsync
1 parent 71eaf2d commit b9e0669

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -592,18 +592,7 @@ public int MaxResult
592592

593593
#region Everything FastSortWarning
594594

595-
private List<EverythingSortOptionLocalized> _allEverythingSortOptions = new();
596-
public List<EverythingSortOptionLocalized> AllEverythingSortOptions
597-
{
598-
get
599-
{
600-
if (_allEverythingSortOptions.Count == 0)
601-
{
602-
_allEverythingSortOptions = EverythingSortOptionLocalized.GetValues();
603-
}
604-
return _allEverythingSortOptions;
605-
}
606-
}
595+
public List<EverythingSortOptionLocalized> AllEverythingSortOptions = EverythingSortOptionLocalized.GetValues();
607596

608597
public EverythingSortOption SelectedEverythingSortOption
609598
{

0 commit comments

Comments
 (0)