mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 22:55: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
|
||||
$sync["SettingsButton"].Add_Click({
|
||||
Write-Debug "SettingsButton clicked"
|
||||
if ($sync.Settings.IsOpen) {
|
||||
$sync.Settings.IsOpen = $false
|
||||
if ($sync.SettingsPopup.IsOpen) {
|
||||
$sync.SettingsPopup.IsOpen = $false
|
||||
}
|
||||
else{
|
||||
$sync.Settings.IsOpen = $true
|
||||
$sync.SettingsPopup.IsOpen = $true
|
||||
}
|
||||
$sync.Settings.IsOpen = $false
|
||||
$sync.ThemePopup.IsOpen = $false
|
||||
$_.Handled = $false
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user