diff --git a/functions/public/Invoke-WPFUIElements.ps1 b/functions/public/Invoke-WPFUIElements.ps1 index d5f985c8..764f5d07 100644 --- a/functions/public/Invoke-WPFUIElements.ps1 +++ b/functions/public/Invoke-WPFUIElements.ps1 @@ -9,11 +9,9 @@ function Invoke-WPFUIElements { .PARAMETER columncount The number of columns to be used in the Grid. If not provided, a default value is used based on the panel. .EXAMPLE - $categoryPanelMap = @{ - "Essential Tweaks" = 0 - "Customize Preferences" = 1 - } Invoke-WPFUIElements -configVariable $sync.configs.applications -targetGridName "install" -columncount 5 + .NOTES + Future me/contributer: If possible please wrap this into a runspace to make it load all panels at the same time. #> param( diff --git a/scripts/main.ps1 b/scripts/main.ps1 index 0797f54a..f5c9b978 100644 --- a/scripts/main.ps1 +++ b/scripts/main.ps1 @@ -414,7 +414,8 @@ $sync["SearchBar"].Add_TextChanged({ $inactiveCategories = $allCategories } foreach ($category in $inactiveCategories) { - $sync[$category].Visibility = "Collapsed"} + $sync[$category].Visibility = "Collapsed" + } }) # Initialize the hashtable