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
show loading indicator
ammarahm-ed41a9ed34596a
diff --git a/apps/mobile/src/components/VaultDialog/index.js b/apps/mobile/src/components/VaultDialog/index.jsindex cb0953818..47e0dc9e3 100644--- a/apps/mobile/src/components/VaultDialog/index.js+++ b/apps/mobile/src/components/VaultDialog/index.js@@ -281,6 +281,9 @@ export class VaultDialog extends Component {async _enrollFingerprint(password) {try {+ this.setState({+ loading: true,+ });await Keychain.setInternetCredentials('nn_vault', 'nn_vault', password, {accessControl: Keychain.ACCESS_CONTROL.BIOMETRY_ANY_OR_DEVICE_PASSCODE,authenticationPrompt: {cancel: null},@@ -289,6 +292,9 @@ export class VaultDialog extends Component {eSendEvent('vaultUpdated');ToastEvent.show('Fingerprint access enabled!', 'success');this.close();+ this.setState({+ loading: false,+ });} catch (e) {this._takeErrorAction(e);}