Update SDK

This commit is contained in:
Sorunome 2020-08-16 12:54:43 +02:00
commit 32a1c3ca1c
31 changed files with 1394 additions and 261 deletions

View file

@ -49,7 +49,7 @@ class _SignUpState extends State<SignUp> {
usernameController.text.toLowerCase().replaceAll(' ', '-');
try {
await matrix.client.api.usernameAvailable(preferredUsername);
await matrix.client.usernameAvailable(preferredUsername);
} on MatrixException catch (exception) {
setState(() => usernameError = exception.errorMessage);
return setState(() => loading = false);
@ -75,7 +75,6 @@ class _SignUpState extends State<SignUp> {
title: Text(
Matrix.of(context)
.client
.api
.homeserver
.toString()
.replaceFirst('https://', ''),