feat: code quality

This commit is contained in:
01Dri 2025-10-11 02:54:29 -03:00
parent 9e1b8c1a72
commit bf2acfec38
3 changed files with 2 additions and 5 deletions

View file

@ -237,7 +237,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings
}
}
private bool _showHistoryQueryResultsForHomePage = false;
private bool _showHistoryQueryResultsForHomePage = true;
public bool ShowHistoryQueryResultsForHomePage
{
get => _showHistoryQueryResultsForHomePage;
@ -257,7 +257,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings
}
private bool _showHistoryLastOpenedResultsForHomePage = false;
private bool _showHistoryLastOpenedResultsForHomePage;
public bool ShowHistoryLastOpenedResultsForHomePage
{
get => _showHistoryLastOpenedResultsForHomePage;

View file

@ -30,7 +30,6 @@ namespace Flow.Launcher.Storage
}
public List<HistoryItem> GetHistoryItems(bool isQuery)
{
if (isQuery) return PopulateActions(QueryHistoryItems, isQuery);
@ -115,7 +114,6 @@ namespace Flow.Launcher.Storage
{
Title = result.Title,
SubTitle = result.SubTitle,
IcoPath = result.IcoPath ?? string.Empty,
PluginID = result.PluginID,
RawQuery = result.OriginQuery.RawQuery,
ExecutedDateTime = DateTime.Now,

View file

@ -7,7 +7,6 @@ public class HistoryItem
{
public string Title { get; set; } = string.Empty;
public string SubTitle { get; set; } = string.Empty;
public string IcoPath { get; set; } = string.Empty;
public string PluginID { get; set; } = string.Empty;
public string RawQuery { get; set; }