Merge pull request #3795 from matrix-org/dbkr/key_backup_checkdevicetrust
Use deviceTrust when displaying key backup trust status
This commit is contained in:
commit
23dffb69ac
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ export default class KeyBackupPanel extends React.PureComponent {
|
||||||
{sub}
|
{sub}
|
||||||
</span>;
|
</span>;
|
||||||
const verify = sub =>
|
const verify = sub =>
|
||||||
<span className={sig.device && sig.device.isVerified() ? 'mx_KeyBackupPanel_deviceVerified' : 'mx_KeyBackupPanel_deviceNotVerified'}>
|
<span className={sig.device && sig.deviceTrust.isVerified() ? 'mx_KeyBackupPanel_deviceVerified' : 'mx_KeyBackupPanel_deviceNotVerified'}>
|
||||||
{sub}
|
{sub}
|
||||||
</span>;
|
</span>;
|
||||||
const device = sub => <span className="mx_KeyBackupPanel_deviceName">{deviceName}</span>;
|
const device = sub => <span className="mx_KeyBackupPanel_deviceName">{deviceName}</span>;
|
||||||
|
|
Loading…
Reference in a new issue