File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Plugins/Flow.Launcher.Plugin.Explorer Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 6
6
using System ;
7
7
using System . Collections . Generic ;
8
8
using System . IO ;
9
- using System . Linq ;
10
9
using System . Threading ;
11
10
using System . Threading . Tasks ;
12
11
using System . Windows . Controls ;
@@ -36,8 +35,8 @@ public Task InitAsync(PluginInitContext context)
36
35
Context = context ;
37
36
38
37
Settings = context . API . LoadSettingJsonStorage < Settings > ( ) ;
39
- FixLegacyQuickAccessLinkNames ( ) ;
40
-
38
+ FillQuickAccessLinkNames ( ) ;
39
+
41
40
viewModel = new SettingsViewModel ( context , Settings ) ;
42
41
43
42
contextMenu = new ContextMenu ( Context , Settings , viewModel ) ;
@@ -98,8 +97,9 @@ public string GetTranslatedPluginDescription()
98
97
return Context . API . GetTranslation ( "plugin_explorer_plugin_description" ) ;
99
98
}
100
99
101
- private void FixLegacyQuickAccessLinkNames ( )
100
+ private void FillQuickAccessLinkNames ( )
102
101
{
102
+ // Legacy version does not have names for quick access links, so we fill them with the path name.
103
103
foreach ( var link in Settings . QuickAccessLinks )
104
104
{
105
105
if ( string . IsNullOrWhiteSpace ( link . Name ) )
You can’t perform that action at this time.
0 commit comments