You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-17 17:42:41 +03:00
need to close the current dialog before opening a new modal
This commit is contained in:
@@ -48,11 +48,12 @@ export default class NewSessionReviewDialog extends React.PureComponent {
|
|||||||
[device.deviceId],
|
[device.deviceId],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
this.props.onFinished(true);
|
||||||
|
|
||||||
Modal.createTrackedDialog('New Session Verification', 'Starting dialog', DeviceVerifyOwnDialog, {
|
Modal.createTrackedDialog('New Session Verification', 'Starting dialog', DeviceVerifyOwnDialog, {
|
||||||
verificationRequest: request,
|
verificationRequest: request,
|
||||||
});
|
});
|
||||||
|
|
||||||
this.props.onFinished(true);
|
|
||||||
// Modal.createTrackedDialog('New Session Verification', 'Starting dialog', DeviceVerifyDialog, {
|
// Modal.createTrackedDialog('New Session Verification', 'Starting dialog', DeviceVerifyDialog, {
|
||||||
// userId,
|
// userId,
|
||||||
// [verificationMethods.SAS, SHOW_QR_CODE_METHOD],
|
// [verificationMethods.SAS, SHOW_QR_CODE_METHOD],
|
||||||
|
|||||||
Reference in New Issue
Block a user