[FIX] Default biometry enabled (#2095)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
364d56a597
commit
0009e7fec5
|
@ -28,7 +28,7 @@ const styles = StyleSheet.create({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const DEFAULT_BIOMETRY = true;
|
const DEFAULT_BIOMETRY = false;
|
||||||
|
|
||||||
class ScreenLockConfigView extends React.Component {
|
class ScreenLockConfigView extends React.Component {
|
||||||
static navigationOptions = ({ screenProps }) => ({
|
static navigationOptions = ({ screenProps }) => ({
|
||||||
|
@ -48,7 +48,7 @@ class ScreenLockConfigView extends React.Component {
|
||||||
this.state = {
|
this.state = {
|
||||||
autoLock: false,
|
autoLock: false,
|
||||||
autoLockTime: null,
|
autoLockTime: null,
|
||||||
biometry: true,
|
biometry: DEFAULT_BIOMETRY,
|
||||||
biometryLabel: null
|
biometryLabel: null
|
||||||
};
|
};
|
||||||
this.init();
|
this.init();
|
||||||
|
|
Loading…
Reference in New Issue