need to close the current dialog before opening a new modal

This commit is contained in:
Bruno Windels 2020-01-31 14:42:02 +01:00
parent f368339b78
commit ee23bfe625

View file

@ -48,11 +48,12 @@ export default class NewSessionReviewDialog extends React.PureComponent {
[device.deviceId],
);
this.props.onFinished(true);
Modal.createTrackedDialog('New Session Verification', 'Starting dialog', DeviceVerifyOwnDialog, {
verificationRequest: request,
});
this.props.onFinished(true);
// Modal.createTrackedDialog('New Session Verification', 'Starting dialog', DeviceVerifyDialog, {
// userId,
// [verificationMethods.SAS, SHOW_QR_CODE_METHOD],