fix actionsheet shows old note

This commit is contained in:
ammarahm-ed
2021-02-27 14:00:24 +05:00
parent 53ee503bf2
commit c74cfaf93f

View File

@@ -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