Fix set up encryption toast to use "set up" as action
This changes the "set up encryption" toast to use "set up" as the primary action button, instead of "upgrade". Other toasts that do use text about upgrading will keep their primary action text of "upgrade" as before. Fixes https://github.com/vector-im/riot-web/issues/13231
This commit is contained in:
parent
98b418a809
commit
736857ffdf
2 changed files with 2 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue