Skip to content

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

update button

ammarahm-ed4415b7ad4b9f
diff --git a/apps/mobile/src/components/Button/index.js b/apps/mobile/src/components/Button/index.js
index 081b26896..e9885e7fb 100644
--- a/apps/mobile/src/components/Button/index.js
+++ b/apps/mobile/src/components/Button/index.js
@@ -57,7 +57,6 @@ export const Button = ({
customStyle={{
height: height,
width: width || null,
- paddingVertical: pv,
paddingHorizontal: ph,
borderRadius: 5,
alignSelf: 'center',
diff --git a/apps/mobile/src/components/Menu/MenuListItem.js b/apps/mobile/src/components/Menu/MenuListItem.js
index e13ea6c81..8b1686292 100644
--- a/apps/mobile/src/components/Menu/MenuListItem.js
+++ b/apps/mobile/src/components/Menu/MenuListItem.js
@@ -107,6 +107,7 @@ export const MenuListItem = ({item, index, noTextMode, testID, rightBtn}) => {
type="shade"
height={25}
fontSize={SIZE.xs}
+
iconSize={SIZE.xs}
icon={rightBtn.icon}
style={{
diff --git a/apps/mobile/src/views/Editor/Functions.js b/apps/mobile/src/views/Editor/Functions.js
index f0ad8989f..6a7399a94 100644
--- a/apps/mobile/src/views/Editor/Functions.js
+++ b/apps/mobile/src/views/Editor/Functions.js
@@ -393,8 +393,10 @@ export async function saveNote() {
id: id,
});
let n = db.notes.note(id).data.dateEdited;
- let title = db.notes.note(id).data.title;
- post('title', title);
+ if (id) {
+ let title = db.notes.note(id).data.title;
+ post('title', title);
+ }
post('dateEdited', timeConverter(n));
post('saving', 'Saved');
}