We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16404bc commit 36a4f41Copy full SHA for 36a4f41
Flow.Launcher/ViewModel/MainViewModel.cs
@@ -1544,8 +1544,13 @@ private async Task BuildQueryAsync(IEnumerable<BaseBuiltinShortcutModel> builtIn
1544
1545
private void RemoveOldQueryResults(Query query, bool isHomeQuery)
1546
{
1547
+ // If last and current query are home query, we don't need to clear the results
1548
+ if (_lastIsHomeQuery && isHomeQuery)
1549
+ {
1550
+ return;
1551
+ }
1552
// If last or current query is home query, we need to clear the results
- if (_lastIsHomeQuery || isHomeQuery)
1553
+ else if (_lastIsHomeQuery || isHomeQuery)
1554
1555
App.API.LogDebug(ClassName, $"Remove old results");
1556
Results.Clear();
0 commit comments