diff options
| author | xuatz <xzlow10@gmail.com> | 2025-11-03 04:32:18 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-02 19:32:18 +0000 |
| commit | 33f407797213c56dd2f13e98228a5305efdf90fd (patch) | |
| tree | 149f477c1ab61b46bb0d9cc49c656a03b1c56f64 /apps/mobile/lib/settings.ts | |
| parent | b63a49fc3980296c6a6ea6ac0624142e8af94d52 (diff) | |
| download | karakeep-33f407797213c56dd2f13e98228a5305efdf90fd.tar.zst | |
feat: display notes on bookmark card (#2083)
* feat: display notes on bookmark card
* apply styling
* include mobile impl
* apply pr comments
* add display options menu into PR
* put it under app setting
* cleanup
* address pr comments
* change the default for show notes to false
* make the in-card note font lighter
---------
Co-authored-by: Mohamed Bassem <me@mbassem.com>
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) => { |
