You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
Also say "Connect ..." on remaining key backup buttons
This updates the remaining buttons shown when a backup exists but is not trusted so that they all now say "Connect this device to Key Backup" instead of "Use Key Backup". This is a follow up to https://github.com/matrix-org/matrix-react-sdk/pull/2917 and was agreed with Riot iOS team https://github.com/vector-im/riot-ios/pull/2375#issuecomment-485788118. Fixes https://github.com/vector-im/riot-web/issues/9542
This commit is contained in:
@@ -130,7 +130,7 @@ export default class LogoutDialog extends React.Component {
|
||||
const DialogButtons = sdk.getComponent('views.elements.DialogButtons');
|
||||
let setupButtonCaption;
|
||||
if (this.state.backupInfo) {
|
||||
setupButtonCaption = _t("Use Key Backup");
|
||||
setupButtonCaption = _t("Connect this device to Key Backup");
|
||||
} else {
|
||||
// if there's an error fetching the backup info, we'll just assume there's
|
||||
// no backup for the purpose of the button caption
|
||||
|
||||
Reference in New Issue
Block a user