mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-23 18:44:10 +01:00
fix: Signup on matrix.org
This commit is contained in:
parent
c51ba11fcb
commit
40f383261c
@ -101,7 +101,9 @@ class SignupPageController extends State<SignupPage> {
|
|||||||
} catch (e) {
|
} catch (e) {
|
||||||
error = (e as Object).toLocalizedString(context);
|
error = (e as Object).toLocalizedString(context);
|
||||||
} finally {
|
} finally {
|
||||||
setState(() => loading = false);
|
if (mounted) {
|
||||||
|
setState(() => loading = false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -141,10 +141,7 @@ class HomeserverPickerView extends StatelessWidget {
|
|||||||
labelText: L10n.of(context).login,
|
labelText: L10n.of(context).login,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (controller.registrationSupported &&
|
if (controller.registrationSupported)
|
||||||
// Registration is broken on matrix.org
|
|
||||||
Matrix.of(context).client.homeserver.host !=
|
|
||||||
'matrix-client.matrix.org')
|
|
||||||
Center(
|
Center(
|
||||||
child: _LoginButton(
|
child: _LoginButton(
|
||||||
onPressed: controller.signUpAction,
|
onPressed: controller.signUpAction,
|
||||||
|
Loading…
Reference in New Issue
Block a user