You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
Dress up the soft logout page to look like the design
Fixes https://github.com/vector-im/riot-web/issues/10262 Also fixes showing the user ID twice. We might have a User object which helpfully sets the display name to the user ID, so check for that.
This commit is contained in:
@@ -43,14 +43,15 @@ export default class ConfirmWipeDeviceDialog extends React.Component {
|
||||
<div className='mx_ConfirmWipeDeviceDialog_content'>
|
||||
<p>
|
||||
{_t(
|
||||
"Deleting all data from this device is permanent. Encrypted messages will be lost " +
|
||||
"Clearing all data from this device is permanent. Encrypted messages will be lost " +
|
||||
"unless their keys have been backed up.",
|
||||
)}
|
||||
</p>
|
||||
</div>
|
||||
<DialogButtons
|
||||
primaryButton={_t("Delete everything")}
|
||||
primaryButton={_t("Clear all data")}
|
||||
onPrimaryButtonClick={this._onConfirm}
|
||||
primaryButtonClass="danger"
|
||||
cancelButton={_t("Cancel")}
|
||||
onCancel={this._onDecline}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user