Skip to content

Commit ce48958

Browse files
committed
Add Minor fixes
1 parent b690123 commit ce48958

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<system:String x:Key="plugin_explorer_Directory_Recursive_Search_Engine">Directory Recursive Search Engine</system:String>
6565
<system:String x:Key="plugin_explorer_Index_Search_Engine">Index Search Engine</system:String>
6666
<system:String x:Key="plugin_explorer_Open_Window_Index_Option">Open Windows Index Option</system:String>
67-
<system:String x:Key="plugin_explorer_Excluded_File_Types">Ignored File Types (comma seperated)</system:String>
67+
<system:String x:Key="plugin_explorer_Excluded_File_Types">Excluded File Types (comma seperated)</system:String>
6868
<system:String x:Key="plugin_explorer_Excluded_File_Types_Tooltip">For example: exe,jpg,png</system:String>
6969

7070
<!-- Plugin Infos -->

Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/SettingsViewModel.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,8 @@ public string ExcludedFileTypes
518518
get => Settings.ExcludedFileTypes;
519519
set
520520
{
521-
string sanitized = string.IsNullOrEmpty(value) ? value : value.Replace(" ", "").Replace(".", "");
521+
// remove spaces and dots from the string before saving
522+
string sanitized = string.IsNullOrEmpty(value) ? "" : value.Replace(" ", "").Replace(".", "");
522523
Settings.ExcludedFileTypes = sanitized;
523524
OnPropertyChanged();
524525
}

0 commit comments

Comments
 (0)