Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix app lock is enabled on older devices

ammarahm-edb32f1958e7d3
diff --git a/apps/mobile/App.js b/apps/mobile/App.js
index dcaf5ed21..ee7abeaa3 100644
--- a/apps/mobile/App.js
+++ b/apps/mobile/App.js
@@ -46,7 +46,7 @@ const App = () => {
};
await SettingsService.init();
- if (SettingsService.get().appLockMode !== 'none') {
+ if (SettingsService.get().appLockMode && SettingsService.get().appLockMode !== 'none') {
let result = await BiometricService.validateUser(
'Unlock to access your notes',
'',