This commit is contained in:
MyDrift
2024-08-16 16:32:22 +02:00
parent 80ca474891
commit c24129387e
2 changed files with 14 additions and 28 deletions

View File

@ -381,13 +381,14 @@ $sync["SearchBar"].Add_TextChanged({
$activeApplications = @()
$textToSearch = $sync.SearchBar.Text.ToLower()
foreach ($CheckBox in $CheckBoxes) {
# Check if the checkbox is null or if it doesn't have content
if ($CheckBox -eq $null -or $CheckBox.Value -eq $null -or $CheckBox.Value.Content -eq $null) {
continue
}
$textToSearch = $sync.SearchBar.Text.ToLower()
$checkBoxName = $CheckBox.Key
$textBlockName = $checkBoxName + "Link"