A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
allow copying debug data if content is null
ammarahm-ed92daa3c5bb11
diff --git a/apps/mobile/src/components/ActionSheetComponent/index.js b/apps/mobile/src/components/ActionSheetComponent/index.jsindex b99bc173e..df402679f 100644--- a/apps/mobile/src/components/ActionSheetComponent/index.js+++ b/apps/mobile/src/components/ActionSheetComponent/index.js@@ -977,21 +977,25 @@ export const ActionSheetComponent = ({style={{width: '100%',paddingHorizontal: 12,- marginTop: 10+ marginTop: 10,}}><ButtononPress={async () => {+ console.log('copy data');let additionalData = {}if (note.type === "note") {let content = await db.content.raw(note.contentId);- content = db.debug.strip(content);- additionalData.content = content;+ if (content) {+ content = db.debug.strip(content);+ additionalData.content = content;+ }}additionalData.lastSynced = await db.lastSynced();-+ console.log(_note);let _note = {...note};_note.additionalData = additionalData;Clipboard.setString(db.debug.strip(_note));+ToastEvent.show({heading:"Debug data copied!",type:'success',