From 38e49c372ef7f0d81c9cddc13b767e0341311977 Mon Sep 17 00:00:00 2001 From: dhairyasenjaliya Date: Fri, 9 Jun 2023 15:24:19 +0530 Subject: [PATCH] Modal consistency fix for button color and cancle text --- .../settings/Profile/Contacts/ContactMethodDetailsPage.js | 1 + src/pages/settings/Security/CloseAccountPage.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/settings/Profile/Contacts/ContactMethodDetailsPage.js b/src/pages/settings/Profile/Contacts/ContactMethodDetailsPage.js index ac91b2bd402e..8c97c2706ebd 100644 --- a/src/pages/settings/Profile/Contacts/ContactMethodDetailsPage.js +++ b/src/pages/settings/Profile/Contacts/ContactMethodDetailsPage.js @@ -215,6 +215,7 @@ class ContactMethodDetailsPage extends Component { onCancel={() => this.toggleDeleteModal(false)} prompt={this.props.translate('contacts.removeAreYouSure')} confirmText={this.props.translate('common.yesContinue')} + cancelText={this.props.translate('common.cancel')} isVisible={this.state.isDeleteModalOpen} danger /> diff --git a/src/pages/settings/Security/CloseAccountPage.js b/src/pages/settings/Security/CloseAccountPage.js index 913a30d4d624..c5189727a3b7 100644 --- a/src/pages/settings/Security/CloseAccountPage.js +++ b/src/pages/settings/Security/CloseAccountPage.js @@ -126,9 +126,10 @@ class CloseAccountPage extends Component { onCancel={this.hideConfirmModal} isVisible={this.state.isConfirmModalVisible} prompt={this.props.translate('closeAccountPage.closeAccountPermanentlyDeleteData')} - confirmText={this.props.translate('common.yes')} + confirmText={this.props.translate('common.yesContinue')} cancelText={this.props.translate('common.cancel')} shouldShowCancelButton + danger />