1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Fix no cancel button just for Registration

This commit is contained in:
Stuart Mumford
2020-02-26 21:54:45 +00:00
parent 75a4289f54
commit c96dd9715a
2 changed files with 4 additions and 1 deletions

View File

@@ -70,6 +70,7 @@ export async function startAnyRegistrationFlow(options) {
const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
const modal = Modal.createTrackedDialog('Registration required', '', QuestionDialog, {
hasCancelButton: true,
quitOnly: true,
title: _t("Sign In or Create Account"),
description: _t("Use your account or create a new one to continue."),
button: _t("Create Account"),