mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Improve log information
This commit is contained in:
parent
41211e8cd3
commit
16404bc2a7
1 changed files with 1 additions and 1 deletions
|
|
@ -1547,13 +1547,13 @@ namespace Flow.Launcher.ViewModel
|
|||
// If last or current query is home query, we need to clear the results
|
||||
if (_lastIsHomeQuery || isHomeQuery)
|
||||
{
|
||||
App.API.LogDebug(ClassName, $"Remove old results");
|
||||
Results.Clear();
|
||||
}
|
||||
// If last and current query are not home query, we need to check action keyword
|
||||
else if (_lastQuery?.ActionKeyword != query?.ActionKeyword)
|
||||
{
|
||||
App.API.LogDebug(ClassName, $"Remove old results");
|
||||
|
||||
Results.Clear();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue