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

@ -90,7 +90,7 @@ class _NewPrivateChatState extends State<_NewPrivateChat> {
setState(() => loading = true);
final matrix = Matrix.of(context);
final response = await SimpleDialogs(context).tryRequestWithErrorToast(
matrix.client.api.searchUser(text, limit: 10),
matrix.client.searchUser(text, limit: 10),
);
setState(() => loading = false);
if (response == false || (response?.results?.isEmpty ?? true)) return;