fix alert dialog

This commit is contained in:
or-else
2020-04-13 19:00:38 +03:00
parent 375750a6ff
commit 35a63ff5ab
6 changed files with 20 additions and 16 deletions
+3 -3
View File
@@ -1254,16 +1254,16 @@ class TinodeWeb extends React.Component {
}
}
handleShowAlert(title, content, onConfirm, confirm, onReject, reject) {
handleShowAlert(title, content, onConfirm, confirmText, onReject, rejectText) {
this.setState({
alertVisible: true,
alertParams: {
title: title,
content: content,
onConfirm: onConfirm,
confirm: confirm,
confirm: confirmText,
onReject: onReject,
reject: reject
reject: rejectText
}
});
}