reverted config fix

This commit is contained in:
MasterGordon 2024-10-27 20:00:09 +01:00
parent 97d082ed1f
commit 51fd7a4a23
1 changed files with 1 additions and 4 deletions

View File

@ -3,10 +3,7 @@ import { z } from "zod";
export const userSettings = z.object({
placeQuestionMark: z.boolean().default(false),
longPressOnDesktop: z.boolean().default(false),
showRevealAnimation: z
.boolean()
.optional()
.transform((v) => typeof v === "undefined" || v),
showRevealAnimation: z.boolean().default(true),
});
export type UserSettings = z.infer<typeof userSettings>;