diff --git a/res/css/views/right_panel/_EncryptionInfo.scss b/res/css/views/right_panel/_EncryptionInfo.scss
index 386eef8e7f..e13b1b6802 100644
--- a/res/css/views/right_panel/_EncryptionInfo.scss
+++ b/res/css/views/right_panel/_EncryptionInfo.scss
@@ -20,5 +20,7 @@ limitations under the License.
margin-top: 25px;
margin-bottom: 15px;
}
+
+ text-align: center;
}
}
diff --git a/src/components/views/dialogs/ErrorDialog.js b/src/components/views/dialogs/ErrorDialog.js
index 15c87990d0..fbc5509457 100644
--- a/src/components/views/dialogs/ErrorDialog.js
+++ b/src/components/views/dialogs/ErrorDialog.js
@@ -42,6 +42,7 @@ export default createReactClass({
button: PropTypes.string,
focus: PropTypes.bool,
onFinished: PropTypes.func.isRequired,
+ headerImage: PropTypes.string,
},
getDefaultProps: function() {
@@ -56,9 +57,12 @@ export default createReactClass({
render: function() {
const BaseDialog = sdk.getComponent('views.dialogs.BaseDialog');
return (
- {_t("Verify by comparing unique emoji.")} {_t("If you can't scan the code above, verify by comparing unique emoji.")}
+
+ Verify by emoji
Verify by emoji
Verify all users in a room to ensure it's secure.
-{ text }
+ +Setting up SAS verification...
); - } - } else if (request.done) { - return this.renderVerifiedPhase(); - } else if (request.cancelled) { - // TODO check if this matches target - // TODO should this be a MODAL? - returncancelled by {request.cancellingUserId}!
; + switch (this.props.phase) { + case PHASE_READY: + return this.renderQRPhase(); + case PHASE_STARTED: + if (this.state.sasEvent) { + const VerificationShowSas = sdk.getComponent('views.verification.VerificationShowSas'); + return