Pc / tel
deploy / deploy (push) Successful in 35s

This commit is contained in:
Romain committed 2026-10-04 17:10:56 +02:00
1 parent c82b7894a5
commit 1eed66e1c4
31 files changed
+556 -72

No files matched your search

+1
View File
@@ -129,6 +129,7 @@ export function normalizeSettings(raw: unknown): Partial<Settings> | undefined {
if (raw.ratingScale === '5' || raw.ratingScale === '10') out.ratingScale = raw.ratingScale
if (Array.isArray(raw.topCategories)) out.topCategories = ALL_TOP_CATEGORIES.filter((c) => (raw.topCategories as unknown[]).includes(c))
if (isHexColor(raw.accentColor)) out.accentColor = raw.accentColor.toLowerCase()
if (raw.themeMode === 'auto' || raw.themeMode === 'light' || raw.themeMode === 'dark' || raw.themeMode === 'night' || raw.themeMode === 'starfield') out.themeMode = raw.themeMode
return out
}