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 () => {