Skip to content

Commit ad1d42b

Browse files
Update labels on initialization to update on language change
1 parent bea1078 commit ad1d42b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using System.Linq;
55
using System.Windows;
66
using System.Windows.Controls;
7+
using Flow.Launcher.Plugin.Explorer.Search.Everything;
78
using Flow.Launcher.Plugin.Explorer.Search.QuickAccessLinks;
89
using Flow.Launcher.Plugin.Explorer.ViewModels;
910
using DataFormats = System.Windows.DataFormats;
@@ -39,6 +40,8 @@ public ExplorerSettings(SettingsViewModel viewModel)
3940
ExcludedPathsExpander
4041
};
4142

43+
// Update labels on initialization to update on language change
44+
EverythingSortOptionLocalized.UpdateLabels(_viewModel.AllEverythingSortOptions);
4245
}
4346

4447
private void AccessLinkDragDrop(string containerName, DragEventArgs e)

0 commit comments

Comments
 (0)