mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-13 03:15:48 +02:00
fix: theme preference bug
This commit is contained in:
parent
f2b2ef2560
commit
1aa8334633
3 changed files with 4 additions and 1 deletions
|
@ -16,6 +16,8 @@ const callback = (media: { matches: any; }) => {
|
|||
dark_mode(false)
|
||||
settings.set_theme('auto')
|
||||
}
|
||||
} else {
|
||||
dark_mode(settings.preference_theme === 'dark')
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue