Skip to content

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

fix trash item properties are empty

ammarahm-ed3cf6b7721be9
diff --git a/apps/mobile/src/components/Properties/index.js b/apps/mobile/src/components/Properties/index.js
index fab6b658f..bfd2a78a8 100644
--- a/apps/mobile/src/components/Properties/index.js
+++ b/apps/mobile/src/components/Properties/index.js
@@ -125,8 +125,8 @@ Properties.present = (item, buttons = []) => {
let android = [];
switch (type) {
case 'trash':
- props.push(['PermDelete', 'Restore']);
props[0] = item;
+ props.push(['PermDelete', 'Restore']);
break;
case 'note':
android = Platform.OS === 'android' ? ['PinToNotif'] : [];