Disbale delete pw when current one not given
This commit is contained in:
1 parent
8ed26f3e59
commit
a15f1177be
1 file changed
+4
@@ -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}>
|
||||
|
||||
Reference in new issue
Block a user