Delete password button bug fix
This commit is contained in:
@@ -2,7 +2,7 @@ import { Alert } from 'react-native'
|
||||
import { shared } from '../../../i18n/en/labels'
|
||||
import labels from '../../../i18n/en/settings'
|
||||
|
||||
export default function showBackUpReminder(okHandler, isDelete) {
|
||||
export default function showBackUpReminder(okHandler, cancelHandler, isDelete) {
|
||||
let title, message
|
||||
if (isDelete) {
|
||||
title = labels.passwordSettings.deleteBackupReminderTitle
|
||||
@@ -17,10 +17,12 @@ export default function showBackUpReminder(okHandler, isDelete) {
|
||||
message,
|
||||
[{
|
||||
text: shared.cancel,
|
||||
onPress: cancelHandler,
|
||||
style: 'cancel'
|
||||
}, {
|
||||
text: shared.ok,
|
||||
onPress: okHandler
|
||||
}]
|
||||
}],
|
||||
{ onDismiss: cancelHandler }
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user