feat(dialog) added react-native-dialog dep and updated ConfirmDialog

This commit is contained in:
Calinteodor
2022-02-03 17:45:02 +02:00
committed by GitHub
parent b9f3448379
commit debb63d3d6
23 changed files with 313 additions and 342 deletions

View File

@@ -20,9 +20,9 @@ class ChatPrivacyDialog extends AbstractChatPrivacyDialog {
render() {
return (
<ConfirmDialog
cancelKey = 'dialog.sendPrivateMessageCancel'
contentKey = 'dialog.sendPrivateMessage'
okKey = 'dialog.sendPrivateMessageOk'
cancelLabel = 'dialog.sendPrivateMessageCancel'
confirmLabel = 'dialog.sendPrivateMessageOk'
descriptionKey = 'dialog.sendPrivateMessage'
onCancel = { this._onSendGroupMessage }
onSubmit = { this._onSendPrivateMessage } />
);