Better login UX
This commit is contained in:
parent
81ae064db7
commit
8d4469ebde
2 changed files with 5 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue