From 18466bc496453550748240b64b06f4fcc6c181ef Mon Sep 17 00:00:00 2001 From: MyDrift Date: Tue, 20 Aug 2024 15:00:52 +0200 Subject: [PATCH] Update functions/public/Invoke-WPFUIElements.ps1 Co-authored-by: Mr.k --- functions/public/Invoke-WPFUIElements.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/public/Invoke-WPFUIElements.ps1 b/functions/public/Invoke-WPFUIElements.ps1 index 764f5d07..1b6c2cf6 100644 --- a/functions/public/Invoke-WPFUIElements.ps1 +++ b/functions/public/Invoke-WPFUIElements.ps1 @@ -130,7 +130,7 @@ function Invoke-WPFUIElements { } $label = New-Object Windows.Controls.Label - $label.Content = $category -replace ".*__" + $label.Content = $category -replace ".*__", "" $label.FontSize = $theme.FontSizeHeading $label.FontFamily = $theme.HeaderFontFamily $stackPanel.Children.Add($label) | Out-Null