Skip to content

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

fix: fingerprint option biometry not on device

ammarahm-ed3cb1d318b2c4
diff --git a/apps/mobile/src/components/VaultDialog/index.js b/apps/mobile/src/components/VaultDialog/index.js
index 03d721bf3..a671a5216 100644
--- a/apps/mobile/src/components/VaultDialog/index.js
+++ b/apps/mobile/src/components/VaultDialog/index.js
@@ -497,8 +497,8 @@ export class VaultDialog extends Component {
</View>
) : null}
- {!this.state.fingerprintAccess &&
- (!this.state.biometricUnlock || !novault) ? (
+ {this.state.isBiometryAvailable && !this.state.fingerprintAccess &&
+ (!this.state.biometricUnlock || !novault) ? (
<TouchableOpacity
onPress={() => {
this.setState({