@@ -1436,12 +1436,12 @@ await PluginManager.QueryHomeForPluginAsync(plugin, query, token) :
14361436 App . API . LogDebug ( ClassName , $ "Update results for plugin <{ plugin . Metadata . Name } >") ;
14371437
14381438 // Indicate if to clear existing results so to show only ones from plugins with action keywords
1439- var clearExistingResultsRequired = RequireClearExistingResults ( query , currentIsHomeQuery ) ;
1439+ var shouldClearExistingResults = ShouldClearExistingResults ( query , currentIsHomeQuery ) ;
14401440 _lastQuery = query ;
14411441 _previousIsHomeQuery = currentIsHomeQuery ;
14421442
14431443 if ( ! _resultsUpdateChannelWriter . TryWrite ( new ResultsForUpdate ( resultsCopy , plugin . Metadata , query ,
1444- token , reSelect , clearExistingResultsRequired ) ) )
1444+ token , reSelect , shouldClearExistingResults ) ) )
14451445 {
14461446 App . API . LogError ( ClassName , "Unable to add item to Result Update Queue" ) ;
14471447 }
@@ -1556,7 +1556,7 @@ private async Task BuildQueryAsync(IEnumerable<BaseBuiltinShortcutModel> builtIn
15561556 /// <param name="query">The current query.</param>
15571557 /// <param name="currentIsHomeQuery">A flag indicating if the current query is a home query.</param>
15581558 /// <returns>True if the existing results should be cleared, false otherwise.</returns>
1559- private bool RequireClearExistingResults ( Query query , bool currentIsHomeQuery )
1559+ private bool ShouldClearExistingResults ( Query query , bool currentIsHomeQuery )
15601560 {
15611561 // If previous or current results are from home query, we need to clear them
15621562 if ( _previousIsHomeQuery || currentIsHomeQuery )
0 commit comments