From 9ebd58852c7ccc68a445121389ddd43eec157dc2 Mon Sep 17 00:00:00 2001 From: Aidan Gauland Date: Mon, 18 Dec 2017 23:08:51 +1300 Subject: [PATCH] Rebase DeactivateAccountDialog on BaseDialog --- .../views/dialogs/DeactivateAccountDialog.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/views/dialogs/DeactivateAccountDialog.js b/src/components/views/dialogs/DeactivateAccountDialog.js index c45e072d72..2af9acfbb5 100644 --- a/src/components/views/dialogs/DeactivateAccountDialog.js +++ b/src/components/views/dialogs/DeactivateAccountDialog.js @@ -77,6 +77,7 @@ export default class DeactivateAccountDialog extends React.Component { } render() { + const BaseDialog = sdk.getComponent('views.dialogs.BaseDialog'); const Loader = sdk.getComponent("elements.Spinner"); let passwordBoxClass = ''; @@ -99,10 +100,11 @@ export default class DeactivateAccountDialog extends React.Component { } return ( -
-
- { _t("Deactivate Account") } -
+

{ _t("This will make your account permanently unusable. You will not be able to re-register the same user ID.") }

@@ -130,7 +132,7 @@ export default class DeactivateAccountDialog extends React.Component { { cancelButton }
-
+ ); } }