Skip to content

Commit c33fae9

Browse files
committed
Change default search delay time to value
1 parent ade4fbf commit c33fae9

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

Flow.Launcher/Languages/en.xaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@
111111
<system:String x:Key="searchDelayToolTip">Adds a short delay while typing to reduce UI flicker and result load. Recommended if your typing speed is average.</system:String>
112112
<system:String x:Key="searchDelayTime">Default Search Delay Time</system:String>
113113
<system:String x:Key="searchDelayTimeToolTip">Wait time before showing results after typing stops. Higher values wait longer. (ms)</system:String>
114-
<system:String x:Key="searchDelayPlaceHolder">Default</system:String>
115114

116115
<!-- Setting Plugin -->
117116
<system:String x:Key="searchplugin">Search Plugin</system:String>

Flow.Launcher/Resources/Controls/InstalledPluginDisplay.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
IsEnabled="{Binding SearchDelayEnabled}"
9494
Maximum="1000"
9595
Minimum="0"
96-
PlaceholderText="{DynamicResource searchDelayPlaceHolder}"
96+
PlaceholderText="{Binding DefaultSearchDelay}"
9797
SmallChange="10"
9898
SpinButtonPlacementMode="Compact"
9999
ToolTip="{DynamicResource searchDelayToolTip}"

Flow.Launcher/ViewModel/PluginViewModel.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ public Control SettingControl
153153
App.API.GetTranslation($"SearchDelayTime{PluginPair.Metadata.SearchDelayTime}");
154154
public Infrastructure.UserSettings.Plugin PluginSettingsObject{ get; init; }
155155
public bool SearchDelayEnabled => Settings.SearchQueryResultsWithDelay;
156+
public string DefaultSearchDelay => Settings.SearchDelayTime.ToString();
156157

157158
public void OnActionKeywordsChanged()
158159
{

0 commit comments

Comments
 (0)