mirror of
https://github.com/immich-app/immich.git
synced 2025-02-04 01:09:14 -05:00
fix(web): upgrade old style theme preference (#12775)
This commit is contained in:
parent
0ceb773865
commit
65dcf9b655
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@
|
|||
if (!theme) {
|
||||
theme = { value: 'light', system: true };
|
||||
} else if (theme === 'dark' || theme === 'light') {
|
||||
theme = { value: item, system: false };
|
||||
theme = { value: theme, system: false };
|
||||
localStorage.setItem(colorThemeKeyName, JSON.stringify(theme));
|
||||
} else {
|
||||
theme = JSON.parse(theme);
|
||||
|
|
Loading…
Add table
Reference in a new issue