fix missing theme change logic in darkmode toggle

This commit is contained in:
MyDrift 2024-11-08 10:35:23 +01:00
parent 0e07cb10bf
commit 17a0bf1336

View File

@ -3312,11 +3312,17 @@
"InvokeScript": [ "InvokeScript": [
" "
Invoke-WinUtilExplorerUpdate Invoke-WinUtilExplorerUpdate
if ($sync.ThemeButton.Content -eq [char]0xF08C) {
Invoke-WinutilThemeChange -theme \"Auto\"
}
" "
], ],
"UndoScript": [ "UndoScript": [
" "
Invoke-WinUtilExplorerUpdate Invoke-WinUtilExplorerUpdate
if ($sync.ThemeButton.Content -eq [char]0xF08C) {
Invoke-WinutilThemeChange -theme \"Auto\"
}
" "
], ],
"link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/DarkMode" "link": "https://christitustech.github.io/winutil/dev/tweaks/Customize-Preferences/DarkMode"