diff --git a/res/css/_components.scss b/res/css/_components.scss
index fe331504f2..c82dedc069 100644
--- a/res/css/_components.scss
+++ b/res/css/_components.scss
@@ -77,7 +77,6 @@
@import "./views/elements/_Dropdown.scss";
@import "./views/elements/_EditableItemList.scss";
@import "./views/elements/_Field.scss";
-@import "./views/elements/_HexVerify.scss";
@import "./views/elements/_ImageView.scss";
@import "./views/elements/_InlineSpinner.scss";
@import "./views/elements/_ManageIntegsButton.scss";
@@ -156,6 +155,7 @@
@import "./views/settings/tabs/_SecuritySettingsTab.scss";
@import "./views/settings/tabs/_SettingsTab.scss";
@import "./views/settings/tabs/_VoiceSettingsTab.scss";
+@import "./views/verification/_VerificationShowSas.scss";
@import "./views/voip/_CallView.scss";
@import "./views/voip/_IncomingCallbox.scss";
@import "./views/voip/_VideoView.scss";
diff --git a/res/css/views/elements/_HexVerify.scss b/res/css/views/verification/_VerificationShowSas.scss
similarity index 78%
rename from res/css/views/elements/_HexVerify.scss
rename to res/css/views/verification/_VerificationShowSas.scss
index 3f3ee4b7ea..32ccf6b0bb 100644
--- a/res/css/views/elements/_HexVerify.scss
+++ b/res/css/views/verification/_VerificationShowSas.scss
@@ -14,21 +14,9 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
-.mx_HexVerify {
+.mx_VerificationShowSas_sas {
text-align: center;
-}
-
-.mx_HexVerify_pair {
- display: inline-block;
font-weight: bold;
padding-left: 3px;
padding-right: 3px;
}
-
-.mx_HexVerify_pair_verified {
- color: $accent-color;
-}
-
-.mx_HexVerify_pair:hover{
- color: $accent-color;
-}
diff --git a/src/components/views/elements/HexVerify.js b/src/components/views/elements/HexVerify.js
deleted file mode 100644
index 86ead3adc1..0000000000
--- a/src/components/views/elements/HexVerify.js
+++ /dev/null
@@ -1,103 +0,0 @@
-/*
-Copyright 2019 New Vector Ltd.
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-import React from "react";
-import PropTypes from "prop-types";
-import classnames from 'classnames';
-
-import sdk from '../../../index';
-
-class HexVerifyPair extends React.Component {
- static propTypes = {
- text: PropTypes.string.isRequired,
- index: PropTypes.number,
- verified: PropTypes.bool,
- onChange: PropTypes.func.isRequired,
- }
-
- _onClick = () => {
- this.setState({verified: !this.props.verified});
- this.props.onChange(this.props.index, !this.props.verified);
- }
-
- render() {
- const classNames = {
- mx_HexVerify_pair: true,
- mx_HexVerify_pair_verified: this.props.verified,
- };
- const AccessibleButton = sdk.getComponent('views.elements.AccessibleButton');
- return
{_t( "Verify this user by confirming the following number appears on their screen.", )}
@@ -48,15 +40,11 @@ export default class VerificationShowSas extends React.Component { "For maximum security, we recommend you do this in person or use another " + "trusted means of communication.", )} -{_t( - "To continue, click on each pair to confirm it's correct.", - )}
+