diff --git a/Flow.Launcher/Storage/QueryHistory.cs b/Flow.Launcher/Storage/QueryHistory.cs index 26dead008..0f4d97677 100644 --- a/Flow.Launcher/Storage/QueryHistory.cs +++ b/Flow.Launcher/Storage/QueryHistory.cs @@ -4,7 +4,6 @@ using System.Linq; using System.Text.Json.Serialization; using Flow.Launcher.Core.Plugin; using Flow.Launcher.Plugin; -using Svg; namespace Flow.Launcher.Storage { diff --git a/Flow.Launcher/ViewModel/MainViewModel.cs b/Flow.Launcher/ViewModel/MainViewModel.cs index f93aef5a6..3b04d6f12 100644 --- a/Flow.Launcher/ViewModel/MainViewModel.cs +++ b/Flow.Launcher/ViewModel/MainViewModel.cs @@ -1333,7 +1333,9 @@ namespace Flow.Launcher.ViewModel // Max history results to return for display if (maxResult.HasValue) + { historyItems = historyItems.Take(maxResult.Value); + } foreach (var item in historyItems) {