fix: sync custom themes from global settings to localstorage, closes #917 (#944)

This commit is contained in:
Huang Xin
2025-04-22 20:52:46 +08:00
committed by GitHub
parent 14c032aaff
commit ee93885c04
+1
View File
@@ -31,6 +31,7 @@ export const useTheme = ({
customThemes.forEach((customTheme) => {
applyCustomTheme(customTheme);
});
localStorage.setItem('customThemes', JSON.stringify(customThemes));
}, [settings]);
useEffect(() => {