This commit is contained in:
David Baker 2020-06-26 12:43:28 +01:00
parent e18ea55d20
commit 919c3bd360

View file

@ -781,10 +781,16 @@ export default class CreateSecretStorageDialog extends React.PureComponent {
switch (this.state.phase) { switch (this.state.phase) {
case PHASE_PASSPHRASE: case PHASE_PASSPHRASE:
case PHASE_PASSPHRASE_CONFIRM: case PHASE_PASSPHRASE_CONFIRM:
titleClass = ['mx_CreateSecretStorageDialog_titleWithIcon', 'mx_CreateSecretStorageDialog_securePhraseTitle']; titleClass = [
'mx_CreateSecretStorageDialog_titleWithIcon',
'mx_CreateSecretStorageDialog_securePhraseTitle',
];
break; break;
case PHASE_SHOWKEY: case PHASE_SHOWKEY:
titleClass = ['mx_CreateSecretStorageDialog_titleWithIcon', 'mx_CreateSecretStorageDialog_secureBackupTitle']; titleClass = [
'mx_CreateSecretStorageDialog_titleWithIcon',
'mx_CreateSecretStorageDialog_secureBackupTitle',
];
break; break;
case PHASE_CHOOSE_KEY_PASSPHRASE: case PHASE_CHOOSE_KEY_PASSPHRASE:
titleClass = 'mx_CreateSecretStorageDialog_centeredTitle'; titleClass = 'mx_CreateSecretStorageDialog_centeredTitle';