fixed settings default
This commit is contained in:
parent
b095512249
commit
2d8c770225
|
|
@ -3,7 +3,7 @@ import { z } from "zod";
|
|||
export const userSettings = z.object({
|
||||
placeQuestionMark: z.boolean().default(false),
|
||||
longPressOnDesktop: z.boolean().default(false),
|
||||
showRevealAnimation: z.boolean().default(true),
|
||||
showRevealAnimation: z.boolean().refine((v) => typeof v === "undefined" || v),
|
||||
});
|
||||
|
||||
export type UserSettings = z.infer<typeof userSettings>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue