name changes

This commit is contained in:
01Dri 2025-12-15 11:30:46 -03:00
parent c808488ee0
commit e5414d97da
4 changed files with 10 additions and 10 deletions

View file

@ -496,15 +496,15 @@ namespace Flow.Launcher.Infrastructure.UserSettings
}
}
private bool _autoTopmostResults = false;
private bool _autoTopmostLastOpenedResults = false;
public bool AutoTopmostLastOpenedResult
{
get => _autoTopmostResults;
get => _autoTopmostLastOpenedResults;
set
{
if (_autoTopmostResults != value)
if (_autoTopmostLastOpenedResults != value)
{
_autoTopmostResults = value;
_autoTopmostLastOpenedResults = value;
OnPropertyChanged();
}
}

View file

@ -177,8 +177,8 @@
<system:String x:Key="homeToggleBoxToolTip">This can only be edited if plugin supports Home feature and Home Page is enabled.</system:String>
<system:String x:Key="showAtTopmost">Show Search Window at Foremost</system:String>
<system:String x:Key="showAtTopmostToolTip">Overrides other programs' 'Always on Top' setting and displays Flow in the foremost position.</system:String>
<system:String x:Key="autoTopmostResults">Auto Topmost Results</system:String>
<system:String x:Key="autoTopmostResultsToolTip">Automatically mark selected results as topmost in their queries for faster access in future searches.</system:String>
<system:String x:Key="autoTopmostLastOpenedResult">Auto Topmost Results</system:String>
<system:String x:Key="autoTopmostLastOpenedResultToolTip">Automatically mark selected results as topmost in their queries for faster access in future searches.</system:String>
<system:String x:Key="autoRestartAfterChanging">Restart after modifying plugin via Plugin Store</system:String>
<system:String x:Key="autoRestartAfterChangingToolTip">Restart Flow Launcher automatically after installing/uninstalling/updating plugin via Plugin Store</system:String>
<system:String x:Key="showUnknownSourceWarning">Show unknown source warning</system:String>

View file

@ -98,14 +98,14 @@
<ui:SettingsCard
Margin="0 4 0 0"
Description="{DynamicResource autoTopmostResultsToolTip}"
Header="{DynamicResource autoTopmostResults}">
Description="{DynamicResource autoTopmostLastOpenedResultToolTip}"
Header="{DynamicResource autoTopmostLastOpenedResult}">
<ui:SettingsCard.HeaderIcon>
<ui:FontIcon Glyph="&#xf5ed;" />
</ui:SettingsCard.HeaderIcon>
<ui:ToggleSwitch
IsOn="{Binding Settings.AutoTopmostResults}"
IsOn="{Binding Settings.AutoTopmostLastOpenedResult}"
OffContent="{DynamicResource disable}"
OnContent="{DynamicResource enable}" />
</ui:SettingsCard>

View file

@ -538,7 +538,7 @@ namespace Flow.Launcher.ViewModel
{
_history.Add(result);
lastHistoryIndex = 1;
if (Settings.AutoTopmostResults)
if (Settings.AutoTopmostLastOpenedResult)
_topMostRecord.AddOrUpdate(result);
}
}