Skip to content

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

fix actionsheet shows old note

ammarahm-edc74cfaf93fd0
diff --git a/apps/mobile/src/components/NoteItem/index.js b/apps/mobile/src/components/NoteItem/index.js
index 17e73a2ca..449ec6b54 100644
--- a/apps/mobile/src/components/NoteItem/index.js
+++ b/apps/mobile/src/components/NoteItem/index.js
@@ -54,8 +54,9 @@ export default class NoteItem extends React.Component {
}
showActionSheet = () => {
+ let item = db.notes.note(this.props.item.id).data
ActionSheetEvent(
- this.props.item,
+ item,
this.props.isTrash ? false : true,
this.props.isTrash ? false : true,
this.props.isTrash