Add bacup warning
This commit is contained in:
1 parent
8da8523558
commit
467dc8d424
2 files changed
+15
-2
No files matched your search
@@ -92,7 +92,17 @@ export default class PasswordSetting extends Component {
|
||||
<TouchableOpacity
|
||||
onPress={() => {
|
||||
if (!this.state.enteringCurrentPassword) {
|
||||
this.setState({ enteringCurrentPassword: true })
|
||||
Alert.alert(
|
||||
labels.passwordSettings.backupReminderTitle,
|
||||
labels.passwordSettings.backupReminder,
|
||||
[{
|
||||
text: shared.cancel,
|
||||
style: 'cancel'
|
||||
}, {
|
||||
text: shared.ok,
|
||||
onPress: () => this.setState({enteringCurrentPassword: true})
|
||||
}]
|
||||
)
|
||||
} else {
|
||||
requestHash(this.state.currentPassword)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user