mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add Minor fixes
This commit is contained in:
parent
b690123a19
commit
ce489586ca
2 changed files with 3 additions and 2 deletions
|
|
@ -64,7 +64,7 @@
|
|||
<system:String x:Key="plugin_explorer_Directory_Recursive_Search_Engine">Directory Recursive Search Engine</system:String>
|
||||
<system:String x:Key="plugin_explorer_Index_Search_Engine">Index Search Engine</system:String>
|
||||
<system:String x:Key="plugin_explorer_Open_Window_Index_Option">Open Windows Index Option</system:String>
|
||||
<system:String x:Key="plugin_explorer_Excluded_File_Types">Ignored File Types (comma seperated)</system:String>
|
||||
<system:String x:Key="plugin_explorer_Excluded_File_Types">Excluded File Types (comma seperated)</system:String>
|
||||
<system:String x:Key="plugin_explorer_Excluded_File_Types_Tooltip">For example: exe,jpg,png</system:String>
|
||||
|
||||
<!-- Plugin Infos -->
|
||||
|
|
|
|||
|
|
@ -518,7 +518,8 @@ namespace Flow.Launcher.Plugin.Explorer.ViewModels
|
|||
get => Settings.ExcludedFileTypes;
|
||||
set
|
||||
{
|
||||
string sanitized = string.IsNullOrEmpty(value) ? value : value.Replace(" ", "").Replace(".", "");
|
||||
// remove spaces and dots from the string before saving
|
||||
string sanitized = string.IsNullOrEmpty(value) ? "" : value.Replace(" ", "").Replace(".", "");
|
||||
Settings.ExcludedFileTypes = sanitized;
|
||||
OnPropertyChanged();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue