Skip to content

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

fix navigating to search not working on ios

ammarahm-ed1bd3a2a2c1c6
diff --git a/apps/mobile/src/components/Header/HeaderRightMenu.js b/apps/mobile/src/components/Header/HeaderRightMenu.js
index 7b611e08c..e530d3c8e 100644
--- a/apps/mobile/src/components/Header/HeaderRightMenu.js
+++ b/apps/mobile/src/components/Header/HeaderRightMenu.js
@@ -25,10 +25,9 @@ export const HeaderRightMenu = ({currentScreen, action, rightButtons}) => {
menu: false
});
}}
- //testID={notesnook.ids.default.header.buttons.left}
name="magnify"
color={colors.pri}
- customStyle={styles.rightBtn}
+ customStyle={[styles.rightBtn]}
/>
) : null}
diff --git a/apps/mobile/src/views/Editor/EditorHeader.js b/apps/mobile/src/views/Editor/EditorHeader.js
index 1533a27bb..4e277fca4 100644
--- a/apps/mobile/src/views/Editor/EditorHeader.js
+++ b/apps/mobile/src/views/Editor/EditorHeader.js
@@ -311,7 +311,7 @@ const EditorHeader = () => {
Navigation.popToTop();
}}
top={50}
- left={50}
+ left={12}
testID={notesnook.editor.back}
name="arrow-left"
color={colors.pri}