Merge pull request #4502 from matrix-org/jryans/set-up-button-text

Fix set up encryption toast to have use "set up" as action
This commit is contained in:
J. Ryan Stinnett 2020-04-29 10:57:24 +01:00 committed by GitHub
commit 4adbfce92d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -90,6 +90,7 @@ export default class SetupEncryptionToast extends React.PureComponent {
getSetupCaption() {
switch (this.props.kind) {
case 'set_up_encryption':
return _t('Set up');
case 'upgrade_encryption':
case 'upgrade_ssss':
return _t('Upgrade');