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
9e1b8c1a72
commit
bf2acfec38
3 changed files with 2 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue