File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Plugins/Flow.Launcher.Plugin.Explorer Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 3
3
using Flow . Launcher . Plugin . Explorer . ViewModels ;
4
4
using Flow . Launcher . Plugin . Explorer . Views ;
5
5
using System . Collections . Generic ;
6
+ using System . Linq ;
6
7
using System . Threading ;
7
8
using System . Threading . Tasks ;
8
9
using System . Windows . Controls ;
@@ -32,6 +33,11 @@ public async Task InitAsync(PluginInitContext context)
32
33
viewModel = new SettingsViewModel ( context ) ;
33
34
await viewModel . LoadStorage ( ) ;
34
35
Settings = viewModel . Settings ;
36
+
37
+ // as at v1.7.0 this is to maintain backwards compatibility, need to be removed afterwards.
38
+ if ( Settings . QuickFolderAccessLinks . Any ( ) )
39
+ Settings . QuickAccessLinks = Settings . QuickFolderAccessLinks ;
40
+
35
41
contextMenu = new ContextMenu ( Context , Settings ) ;
36
42
searchManager = new SearchManager ( Settings , Context ) ;
37
43
}
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ public class Settings
10
10
11
11
public List < AccessLink > QuickAccessLinks { get ; set ; } = new List < AccessLink > ( ) ;
12
12
13
+ // as at v1.7.0 this is to maintain backwards compatibility, need to be removed afterwards.
14
+ public List < AccessLink > QuickFolderAccessLinks { get ; set ; } = new List < AccessLink > ( ) ;
15
+
13
16
public bool UseWindowsIndexForDirectorySearch { get ; set ; } = true ;
14
17
15
18
public List < AccessLink > IndexSearchExcludedSubdirectoryPaths { get ; set ; } = new List < AccessLink > ( ) ;
You can’t perform that action at this time.
0 commit comments