@@ -1436,12 +1436,12 @@ await PluginManager.QueryHomeForPluginAsync(plugin, query, token) :
1436
1436
App . API . LogDebug ( ClassName , $ "Update results for plugin <{ plugin . Metadata . Name } >") ;
1437
1437
1438
1438
// 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 ) ;
1440
1440
_lastQuery = query ;
1441
1441
_previousIsHomeQuery = currentIsHomeQuery ;
1442
1442
1443
1443
if ( ! _resultsUpdateChannelWriter . TryWrite ( new ResultsForUpdate ( resultsCopy , plugin . Metadata , query ,
1444
- token , reSelect , clearExistingResultsRequired ) ) )
1444
+ token , reSelect , shouldClearExistingResults ) ) )
1445
1445
{
1446
1446
App . API . LogError ( ClassName , "Unable to add item to Result Update Queue" ) ;
1447
1447
}
@@ -1556,7 +1556,7 @@ private async Task BuildQueryAsync(IEnumerable<BaseBuiltinShortcutModel> builtIn
1556
1556
/// <param name="query">The current query.</param>
1557
1557
/// <param name="currentIsHomeQuery">A flag indicating if the current query is a home query.</param>
1558
1558
/// <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 )
1560
1560
{
1561
1561
// If previous or current results are from home query, we need to clear them
1562
1562
if ( _previousIsHomeQuery || currentIsHomeQuery )
0 commit comments