Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix editor bar does not update when changing device orientation

ammarahm-ed087a92d1499f
diff --git a/apps/mobile/src/views/Editor/EditorHeader.js b/apps/mobile/src/views/Editor/EditorHeader.js
index defae4d35..6facedcf6 100644
--- a/apps/mobile/src/views/Editor/EditorHeader.js
+++ b/apps/mobile/src/views/Editor/EditorHeader.js
@@ -39,7 +39,7 @@ let tapCount = 0;
const EditorHeader = () => {
const [state] = useTracked();
- const {colors, fullscreen} = state;
+ const {colors, fullscreen, deviceMode} = state;
const insets = useSafeAreaInsets();
useEffect(() => {