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
fix actionSheet when no note.
ammarahm-ed87d56958e836
diff --git a/apps/mobile/src/components/DialogManager/index.js b/apps/mobile/src/components/DialogManager/index.jsindex da2cc69a2..c6e165820 100644--- a/apps/mobile/src/components/DialogManager/index.js+++ b/apps/mobile/src/components/DialogManager/index.js@@ -67,7 +67,7 @@ export class DialogManager extends Component {this.setState({actionSheetData: data,- item: data.item,+ item: data.item ? data.item : {},},() => {this.actionSheet._setModalVisible();@@ -90,7 +90,7 @@ export class DialogManager extends Component {loadNote = i => {if (i && i.type === 'new') {this.setState({- note: {},+ item: {},});} else {note = i;@@ -282,7 +282,7 @@ export class DialogManager extends Component {: null}initialOffsetFromBottom={- DDS.isTab || item.type !== 'note' || item.dateDeleted ? 1 : 0.5+ DDS.isTab || item?.type !== 'note' || item.dateDeleted ? 1 : 0.5}bounceOnOpen={true}gestureEnabled={true}