@@ -60,7 +60,7 @@ index 575ff07..782cdd1 100644
60
60
dis.dispatch({
61
61
action: "start_registration",
62
62
diff --git a/node_modules/matrix-react-sdk/src/components/views/settings/CrossSigningPanel.tsx b/node_modules/matrix-react-sdk/src/components/views/settings/CrossSigningPanel.tsx
63
- index e3f62d4..aba3ef4 100644
63
+ index e3f62d4..d3967a0 100644
64
64
--- a/node_modules/matrix-react-sdk/src/components/views/settings/CrossSigningPanel.tsx
65
65
+++ b/node_modules/matrix-react-sdk/src/components/views/settings/CrossSigningPanel.tsx
66
66
@@ -28,6 +28,7 @@ import ConfirmDestroyCrossSigningDialog from "../dialogs/security/ConfirmDestroy
@@ -71,7 +71,7 @@ index e3f62d4..aba3ef4 100644
71
71
72
72
interface IState {
73
73
error?: Error;
74
- @@ -210,10 +211,16 @@ export default class CrossSigningPanel extends React.PureComponent<{}, IState> {
74
+ @@ -210,14 +211,21 @@ export default class CrossSigningPanel extends React.PureComponent<{}, IState> {
75
75
userSigningPrivateKeyCached;
76
76
77
77
const actions: JSX.Element[] = [];
@@ -89,7 +89,13 @@ index e3f62d4..aba3ef4 100644
89
89
if (crossSigningPrivateKeysInStorage) {
90
90
buttonCaption = _t("Verify this session");
91
91
}
92
- @@ -225,7 +232,9 @@ export default class CrossSigningPanel extends React.PureComponent<{}, IState> {
92
+ - actions.push(
93
+ + // TCHAP: change actions.push(
94
+ + advancedActions.push(
95
+ <AccessibleButton key="setup" kind="primary" onClick={this.onBootstrapClick}>
96
+ {buttonCaption}
97
+ </AccessibleButton>,
98
+ @@ -225,7 +233,9 @@ export default class CrossSigningPanel extends React.PureComponent<{}, IState> {
93
99
}
94
100
95
101
if (keysExistAnywhere) {
@@ -100,7 +106,7 @@ index e3f62d4..aba3ef4 100644
100
106
<AccessibleButton key="reset" kind="danger" onClick={this.resetCrossSigning}>
101
107
{_t("Reset")}
102
108
</AccessibleButton>,
103
- @@ -237,6 +246 ,19 @@ export default class CrossSigningPanel extends React.PureComponent<{}, IState> {
109
+ @@ -237,6 +247 ,19 @@ export default class CrossSigningPanel extends React.PureComponent<{}, IState> {
104
110
actionRow = <div className="mx_CrossSigningPanel_buttonRow">{actions}</div>;
105
111
}
106
112
@@ -120,7 +126,7 @@ index e3f62d4..aba3ef4 100644
120
126
return (
121
127
<div>
122
128
{summarisedStatus}
123
- @@ -274,6 +296 ,7 @@ export default class CrossSigningPanel extends React.PureComponent<{}, IState> {
129
+ @@ -274,6 +297 ,7 @@ export default class CrossSigningPanel extends React.PureComponent<{}, IState> {
124
130
</tr>
125
131
</tbody>
126
132
</table>
0 commit comments