Disbale delete pw when current one not given
This commit is contained in:
@@ -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