mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-24 23:49:33 +01:00
fix actionsheet shows old note
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user