mobile: fix editor features not updated on login

This commit is contained in:
Ammar Ahmed
2026-01-15 09:29:48 +05:00
parent e635ace338
commit 1432553897

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