Skip to content

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

improve new note button

ammarahm-edd4bbc7e82233
diff --git a/apps/mobile/src/components/Header/HeaderRightMenu.js b/apps/mobile/src/components/Header/HeaderRightMenu.js
index e530d3c8e..2184a0498 100644
--- a/apps/mobile/src/components/Header/HeaderRightMenu.js
+++ b/apps/mobile/src/components/Header/HeaderRightMenu.js
@@ -25,9 +25,10 @@ export const HeaderRightMenu = ({currentScreen, action, rightButtons}) => {
menu: false
});
}}
+
name="magnify"
color={colors.pri}
- customStyle={[styles.rightBtn]}
+ customStyle={styles.rightBtn}
/>
) : null}
@@ -37,13 +38,21 @@ export const HeaderRightMenu = ({currentScreen, action, rightButtons}) => {
testID={notesnook.ids.default.addBtn}
icon={currentScreen === 'Trash' ? 'delete' : 'plus'}
iconSize={SIZE.xl}
- type="accent"
+ type="shade"
+ hitSlop={{
+ top:10,
+ right:10,
+ bottom:10,
+ left:0
+ }}
style={{
marginLeft: 10,
- width: 40,
- height: 40,
- borderRadius: 100,
- paddingHorizontal: 0
+ width: 32,
+ height: 32,
+ borderRadius: 5,
+ paddingHorizontal: 0,
+ borderWidth:1,
+ borderColor:colors.accent
}}
/>
) : null}