mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 14:45:52 -06:00
Fix Variable Typo (#2780)
This commit is contained in:
parent
6cc7d314fe
commit
395ac9495d
@ -530,13 +530,13 @@ $sync["LightThemeMenuItem"].Add_Click({
|
|||||||
# Define event handler for button click
|
# Define event handler for button click
|
||||||
$sync["SettingsButton"].Add_Click({
|
$sync["SettingsButton"].Add_Click({
|
||||||
Write-Debug "SettingsButton clicked"
|
Write-Debug "SettingsButton clicked"
|
||||||
if ($sync.Settings.IsOpen) {
|
if ($sync.SettingsPopup.IsOpen) {
|
||||||
$sync.Settings.IsOpen = $false
|
$sync.SettingsPopup.IsOpen = $false
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$sync.Settings.IsOpen = $true
|
$sync.SettingsPopup.IsOpen = $true
|
||||||
}
|
}
|
||||||
$sync.Settings.IsOpen = $false
|
$sync.ThemePopup.IsOpen = $false
|
||||||
$_.Handled = $false
|
$_.Handled = $false
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user