Skip to content

Commit e9ef26a

Browse files
committed
Change related setting names
1 parent 54994dd commit e9ef26a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Flow.Launcher.Infrastructure/UserSettings/Settings.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ public string PlaceholderText
159159
}
160160
}
161161

162-
public bool ShowHomeQuery { get; set; } = true;
163-
public bool ShowHistoryRecordsForHomeQuery { get; set; } = false;
164-
public int HistoryRecordsCountForHomeQuery { get; set; } = 5;
162+
public bool ShowHomePage { get; set; } = true;
163+
public bool ShowHistoryResultsForHomePage { get; set; } = false;
164+
public int MaxHistoryResultsToShowForHomePage { get; set; } = 5;
165165

166166
public int CustomExplorerIndex { get; set; } = 0;
167167

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ private bool QueryResultsPreviewed()
10761076

10771077
public void InitializeQuery()
10781078
{
1079-
if (Settings.ShowHomeQuery)
1079+
if (Settings.ShowHomePage)
10801080
{
10811081
_ = QueryResultsAsync(false);
10821082
}
@@ -1211,7 +1211,7 @@ private async Task QueryResultsAsync(bool searchDelay, bool isReQuery = false, b
12111211

12121212
if (query == null) // shortcut expanded
12131213
{
1214-
if (Settings.ShowHomeQuery)
1214+
if (Settings.ShowHomePage)
12151215
{
12161216
plugins = PluginManager.ValidPluginsForHomeQuery(query);
12171217
}

0 commit comments

Comments
 (0)