fixed settings again

This commit is contained in:
MasterGordon 2024-10-27 19:57:02 +01:00
parent 9eeba8a069
commit 97d082ed1f
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ export const userSettings = z.object({
longPressOnDesktop: z.boolean().default(false), longPressOnDesktop: z.boolean().default(false),
showRevealAnimation: z showRevealAnimation: z
.boolean() .boolean()
.optional()
.transform((v) => typeof v === "undefined" || v), .transform((v) => typeof v === "undefined" || v),
}); });