remove dispatcher

This commit is contained in:
MyDrift
2024-08-22 18:56:12 +02:00
parent ac63c2a492
commit 23f11d36fe
2 changed files with 5 additions and 10 deletions

View File

@ -31,7 +31,7 @@ function Invoke-WPFUIElements {
$borderstyle = $window.FindResource("BorderStyle")
$HoverTextBlockStyle = $window.FindResource("HoverTextBlockStyle")
$ColorfulToggleSwitchStyle = $window.FindResource("ColorfulToggleSwitchStyle")
if (!$borderstyle -or !$HoverTextBlockStyle -or !$ColorfulToggleSwitchStyle) {
throw "Failed to retrieve Styles using 'FindResource' from main window element."
}