Merge pull request #4065 from matrix-org/foldleft/12335-verification-panel

Disable 'start' button after clicking in VerificationPanel
This commit is contained in:
Zoe 2020-02-12 14:10:26 +00:00 committed by GitHub
commit d1cce3030c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ export default class VerificationPanel extends React.PureComponent {
<div className='mx_VerificationPanel_QRPhase_startOption'>
<p>{_t("Compare unique emoji")}</p>
<span className='mx_VerificationPanel_QRPhase_helpText'>{_t("Compare a unique set of emoji if you don't have a camera on either device")}</span>
<AccessibleButton onClick={this._startSAS} kind='primary'>
<AccessibleButton disabled={this.state.emojiButtonClicked} onClick={this._startSAS} kind='primary'>
{_t("Start")}
</AccessibleButton>
</div>