From 2f3e5cb5cfc1b6db4298de536637ed40f82b9c28 Mon Sep 17 00:00:00 2001 From: Ammar Ahmed Date: Tue, 25 Aug 2026 09:24:09 +0500 Subject: [PATCH] mobile: fix date format not updated in editor --- apps/mobile/app/screens/editor/tiptap/use-editor-events.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/mobile/app/screens/editor/tiptap/use-editor-events.tsx b/apps/mobile/app/screens/editor/tiptap/use-editor-events.tsx index 4bac6fc6a..fecff1cbb 100644 --- a/apps/mobile/app/screens/editor/tiptap/use-editor-events.tsx +++ b/apps/mobile/app/screens/editor/tiptap/use-editor-events.tsx @@ -230,9 +230,9 @@ export const useEditorEvents = ( ? parseInt(defaultFontSize) : defaultFontSize, fontFamily: SettingsService.get().defaultFontFamily, - dateFormat: db.settings?.getDateFormat(), - timeFormat: db.settings?.getTimeFormat(), - dayFormat: db.settings?.getDayFormat(), + dateFormat: dateFormat, + timeFormat: timeFormat, + dayFormat: dayFormat, fontScale, markdownShortcuts, features,