mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
feat: code quality
This commit is contained in:
parent
bf2acfec38
commit
95122e91f5
2 changed files with 2 additions and 13 deletions
|
|
@ -30,6 +30,7 @@ namespace Flow.Launcher.Storage
|
|||
}
|
||||
|
||||
|
||||
|
||||
public List<HistoryItem> GetHistoryItems(bool isQuery)
|
||||
{
|
||||
if (isQuery) return PopulateActions(QueryHistoryItems, isQuery);
|
||||
|
|
@ -121,7 +122,7 @@ namespace Flow.Launcher.Storage
|
|||
};
|
||||
|
||||
var existing = LastOpenedHistoryItems.
|
||||
FirstOrDefault(x => x.Title == item.Title && x.PluginID == item.PluginID);
|
||||
FirstOrDefault(x => x.Title == item.Title && x.SubTitle == item.SubTitle && x.PluginID == item.PluginID);
|
||||
|
||||
|
||||
if (existing != null)
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.Json.Serialization;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Flow.Launcher.Storage;
|
||||
public class HistoryLegacy
|
||||
{
|
||||
[JsonInclude] public List<HistoryItemLegacy> Items { get; private set; } = [];
|
||||
}
|
||||
Loading…
Reference in a new issue