diff --git a/scripts/main.ps1 b/scripts/main.ps1 index e96dc944..28bf9525 100644 --- a/scripts/main.ps1 +++ b/scripts/main.ps1 @@ -416,7 +416,7 @@ $sync["SearchBar"].Add_TextChanged({ # Retrieve the corresponding text block based on the generated name $textBlock = $sync[$textBlockName] - if ($CheckBox.Value.Content.ToLower().Contains($textToSearch)) { + if ($CheckBox.Value.Content.ToString().ToLower().Contains($textToSearch)) { $CheckBox.Value.Visibility = "Visible" $activeApplications += $sync.configs.applications.$checkboxName # Set the corresponding text block visibility