diff --git a/functions/private/Invoke-WinUtilUIElements.ps1 b/functions/private/Invoke-WinUtilUIElements.ps1 index e318e875..1e81526e 100644 --- a/functions/private/Invoke-WinUtilUIElements.ps1 +++ b/functions/private/Invoke-WinUtilUIElements.ps1 @@ -188,6 +188,7 @@ function Invoke-WinUtilUIElements { $checkBox.HorizontalAlignment = "Right" $checkBox.FontSize = 14 $dockPanel.Children.Add($checkBox) | Out-Null + $checkBox.Style = $window.FindResource("ColorfulToggleSwitchStyle") $label = New-Object Windows.Controls.Label $label.Content = $appInfo.Content