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 dialog not showing
ammarahm-edd41c5f6dd8da
diff --git a/apps/mobile/src/components/VaultDialog/index.js b/apps/mobile/src/components/VaultDialog/index.jsindex b30639ef8..32d7516c7 100644--- a/apps/mobile/src/components/VaultDialog/index.js+++ b/apps/mobile/src/components/VaultDialog/index.js@@ -106,7 +106,11 @@ export class VaultDialog extends Component {close = () => {if (this.state.loading) {- ToastEvent.show('Please wait and do not close the app.', 'success');+ ToastEvent.show(+ 'Please wait and do not close the app.',+ 'success',+ 'local',+ );return;}updateEvent({type: Actions.NOTES});@@ -128,6 +132,9 @@ export class VaultDialog extends Component {onPress = async () => {if (this.state.loading) return;+ if (!this.password) {+ ToastEvent.show('You must fill all the fields.', 'error', 'local');+ }if (!this.state.novault) {if (this.password && this.password.length < 3) {ToastEvent.show('Password too short', 'error', 'local');@@ -144,6 +151,9 @@ export class VaultDialog extends Component {this._createVault();} else if (this.state.changePassword) {+ if (!this.newPassword) {+ ToastEvent.show('You must fill all the fields.', 'error', 'local');+ }if (this.newPassword && this.newPassword.length < 3) {ToastEvent.show('New password too short', 'error', 'local');return;