Skip to content

Commit 0228f7a

Browse files
committed
Update ignoreAccents tooltip and add UpdateApp method
Removed restart note from ignoreAccents tooltip. Added a new constructor and UpdateApp method to SettingsPaneGeneralViewModel for triggering asynchronous app updates.
1 parent 459a369 commit 0228f7a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Flow.Launcher/Languages/en.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
<system:String x:Key="hideNotifyIcon">Hide tray icon</system:String>
127127
<system:String x:Key="hideNotifyIconToolTip">When the icon is hidden from the tray, the Settings menu can be opened by right-clicking on the search window.</system:String>
128128
<system:String x:Key="ignoreAccents">Ignore accents when searching results</system:String>
129-
<system:String x:Key="ignoreAccentsToolTip">When this option is changed, a restart is required. When enabled, you will be able to find results that contain accented characters more easily.</system:String>
129+
<system:String x:Key="ignoreAccentsToolTip">When enabled, you will be able to find results that contain accented characters more easily.</system:String>
130130
<system:String x:Key="querySearchPrecision">Query Search Precision</system:String>
131131
<system:String x:Key="querySearchPrecisionToolTip">Changes minimum match score required for results.</system:String>
132132
<system:String x:Key="SearchPrecisionNone">None</system:String>

Flow.Launcher/SettingPages/ViewModels/SettingsPaneGeneralViewModel.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public partial class SettingsPaneGeneralViewModel : BaseModel
2222
private readonly Updater _updater;
2323
private readonly Portable _portable;
2424
private readonly Internationalization _translater;
25+
2526
public SettingsPaneGeneralViewModel(Settings settings, Updater updater, Portable portable, Internationalization translater)
2627
{
2728
Settings = settings;
@@ -361,6 +362,7 @@ private static string GetFileFromDialog(string title, string filter = "")
361362
_ => string.Empty
362363
};
363364
}
365+
364366
private void UpdateApp()
365367
{
366368
_ = _updater.UpdateAppAsync(false);

0 commit comments

Comments
 (0)