File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Plugins/Flow.Launcher.Plugin.BrowserBookmark Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -86,20 +86,12 @@ private async Task LoadBookmarksInBackgroundAsync()
8686
8787 public async Task < List < Result > > QueryAsync ( Query query , CancellationToken token )
8888 {
89+ // If the list is not initialized, we need to wait for the list to be initialized before querying
8990 if ( ! _isInitialized )
9091 {
91- // If the list is not initialized, we need to wait for the list to be initialized before querying
9292 await LoadBookmarksInBackgroundAsync ( ) ;
93- return QueryResults ( query ) ;
9493 }
95- else
96- {
97- return QueryResults ( query ) ;
98- }
99- }
10094
101- private static List < Result > QueryResults ( Query query )
102- {
10395 string param = query . Search . TrimStart ( ) ;
10496 bool topResults = string . IsNullOrEmpty ( param ) ;
10597
You can’t perform that action at this time.
0 commit comments