From 1a878fc77a2c3e826ae68fdd81eb34805e97022a Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 31 Oct 2018 19:56:34 +0000 Subject: [PATCH] Quote consistency --- src/components/views/settings/KeyBackupPanel.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/views/settings/KeyBackupPanel.js b/src/components/views/settings/KeyBackupPanel.js index 126e4e6712..57140456ee 100644 --- a/src/components/views/settings/KeyBackupPanel.js +++ b/src/components/views/settings/KeyBackupPanel.js @@ -80,7 +80,7 @@ export default class KeyBackupPanel extends React.Component { } _startNewBackup() { - const CreateKeyBackupDialog = sdk.getComponent("dialogs.keybackup.CreateKeyBackupDialog"); + const CreateKeyBackupDialog = sdk.getComponent('dialogs.keybackup.CreateKeyBackupDialog'); Modal.createTrackedDialog('Key Backup', 'Key Backup', CreateKeyBackupDialog, { onFinished: () => { this._loadBackupStatus(); @@ -89,9 +89,9 @@ export default class KeyBackupPanel extends React.Component { } _deleteBackup() { - const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog"); + const QuestionDialog = sdk.getComponent('dialogs.QuestionDialog'); Modal.createTrackedDialog('Delete Backup', '', QuestionDialog, { - title: _t("Delete Backup"), + title: _t('Delete Backup'), description: _t( "Delete your backed up encryption keys from the server? " + "You will no longer be able to use your recovery key to read encrypted message history", @@ -109,7 +109,7 @@ export default class KeyBackupPanel extends React.Component { } _restoreBackup() { - const RestoreKeyBackupDialog = sdk.getComponent("dialogs.keybackup.RestoreKeyBackupDialog"); + const RestoreKeyBackupDialog = sdk.getComponent('dialogs.keybackup.RestoreKeyBackupDialog'); Modal.createTrackedDialog('Restore Backup', '', RestoreKeyBackupDialog, { }); }