From bb39be794bc4aa8c60a176a2d93c3704ed5aac01 Mon Sep 17 00:00:00 2001 From: MyDrift Date: Wed, 7 Aug 2024 21:27:07 +0200 Subject: [PATCH] fix toggle style --- functions/private/Invoke-WinUtilUIElements.ps1 | 1 + 1 file changed, 1 insertion(+) 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