Browse Source

Hide touch id if not enrolled

Fixes #554
pull/557/head
Guillaume Vincent 4 years ago
parent
commit
7eaa407685
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      mobile/src/settings/SettingsScreen.js

+ 4
- 1
mobile/src/settings/SettingsScreen.js View File

@@ -19,7 +19,10 @@ export class SettingsScreen extends Component {
}

componentDidMount() {
TouchID.isSupported()
TouchID
.isSupported({
passcodeFallback: false
})
.then(() => {
this.setState({ fingerprintIsSupported: true });
})


Loading…
Cancel
Save