fix: wrong option name of night mode
This commit is contained in:
parent
66768c0500
commit
20cd65baba
2 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ yat:
|
|||
# theme_color: "#882250"
|
||||
|
||||
# Night mode, default is "auto", "auto" is for auto nightshift (19:00 - 07:00),
|
||||
# "mannual" is for mannual toggle, and "on/off" is for always on/off.
|
||||
# "manual" is for manual toggle, and "on/off" is for always on/off.
|
||||
# night_mode: "auto"
|
||||
|
||||
# If you want to link only specific pages in your header, uncomment
|
||||
|
|
|
@ -94,7 +94,7 @@
|
|||
} else {
|
||||
handleThemeToggle(themeData.nightShift);
|
||||
}
|
||||
} else if (nightModeOption == 'mannual') {
|
||||
} else if (nightModeOption == 'manual') {
|
||||
handleThemeToggle(themeData.nightShift);
|
||||
} else {
|
||||
handleThemeToggle(nightModeOption == 'on');
|
||||
|
|
Loading…
Reference in a new issue