diff options
Diffstat (limited to 'apps/mobile/lib/settings.ts')
| -rw-r--r-- | apps/mobile/lib/settings.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/mobile/lib/settings.ts b/apps/mobile/lib/settings.ts index 51fa661f..4399e04a 100644 --- a/apps/mobile/lib/settings.ts +++ b/apps/mobile/lib/settings.ts @@ -14,6 +14,7 @@ const zSettingsSchema = z.object({ .enum(["reader", "browser"]) .optional() .default("reader"), + showNotes: z.boolean().optional().default(false), }); export type Settings = z.infer<typeof zSettingsSchema>; @@ -32,6 +33,7 @@ const useSettings = create<AppSettingsState>((set, get) => ({ imageQuality: 0.2, theme: "system", defaultBookmarkView: "reader", + showNotes: false, }, }, setSettings: async (settings) => { |
