From 1432553897bb0a6ce5c6170713b98aaed861b8b4 Mon Sep 17 00:00:00 2001 From: Ammar Ahmed Date: Thu, 15 Jan 2026 09:29:48 +0500 Subject: [PATCH] mobile: fix editor features not updated on login --- apps/mobile/app/screens/editor/tiptap/use-editor-events.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 1ff484c9c..0d7f3c733 100644 --- a/apps/mobile/app/screens/editor/tiptap/use-editor-events.tsx +++ b/apps/mobile/app/screens/editor/tiptap/use-editor-events.tsx @@ -155,6 +155,7 @@ export const useEditorEvents = ( "outlineList", "taskList" ]); + const deviceMode = useSettingStore((state) => state.deviceMode); const fullscreen = useSettingStore((state) => state.fullscreen); const corsProxy = useSettingStore((state) => state.settings.corsProxy); @@ -244,7 +245,8 @@ export const useEditorEvents = ( loading, fontScale, markdownShortcuts, - loggedIn + loggedIn, + features ]); const onBackPress = useCallback(async () => {