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 note note updating on lock/unlock
ammarahm-ed4ca5da3482fc
diff --git a/apps/mobile/src/components/VaultDialog/index.js b/apps/mobile/src/components/VaultDialog/index.jsindex 6385364c9..59a6466df 100644--- a/apps/mobile/src/components/VaultDialog/index.js+++ b/apps/mobile/src/components/VaultDialog/index.js@@ -32,9 +32,8 @@ export class VaultDialog extends Component {failOnCancel: false,message: m,});- updateEvent({type: item.type});}-+ updateEvent({type: item.type});this.setState({visible: false,});@@ -61,7 +60,7 @@ export class VaultDialog extends Component {this.close(this.props.shareAfterUnlock, item);} else {await db.notes.note(this.props.note.id).lock('password');- this.close();+ this.close(false, item);}};diff --git a/apps/mobile/src/utils/animations.js b/apps/mobile/src/utils/animations.jsindex 73e7fdea9..578d79258 100644--- a/apps/mobile/src/utils/animations.js+++ b/apps/mobile/src/utils/animations.js@@ -1,5 +1,6 @@import Animated, {Easing} from 'react-native-reanimated';import {Dimensions} from 'react-native';+import {editing} from './utils';const {color, Value, timing} = Animated;