Disbale delete pw when current one not given

This commit is contained in:
Julia Friesel committed 2018-09-17 15:26:38 +02:00
1 parent 8ed26f3e59
commit a15f1177be
1 file changed
+4
+4
View File
@@ -64,6 +64,10 @@ export default class DeletePassword extends Component {
requestHash('pre-delete-pw-check', this.state.currentPassword)
}
}}
disabled={
this.state.enteringCurrentPassword &&
!this.state.currentPassword
}
style={styles.settingsButton}
>
<AppText style={styles.settingsButtonText}>