Better login UX

This commit is contained in:
Christian Pauly 2020-02-16 08:44:56 +01:00
commit 8d4469ebde
2 changed files with 5 additions and 2 deletions

View file

@ -52,7 +52,7 @@ class _SignUpState extends State<SignUp> {
usernameController.text.toLowerCase().replaceAll(" ", "-");
String homeserver = serverController.text;
if (homeserver.isEmpty) homeserver = "matrix-client.matrix.org";
if (homeserver.isEmpty) homeserver = "tchncs.de";
if (!homeserver.startsWith("https://")) {
homeserver = "https://" + homeserver;
}