Merge pull request #9210 from streetwriters/fix-editor-features-lock

mobile: fix editor features not updated on login or user change
This commit is contained in:
Ammar Ahmed
2026-01-16 14:23:23 +05:00
committed by GitHub

View File

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