mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-02-04 15:00:09 +00:00
fix "ToLower" method invocation failure (#2714)
This commit is contained in:
committed by
GitHub
parent
19a3c7070a
commit
8e5fcceddb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user