More fixes and new version

This commit is contained in:
Christian Pauly 2020-01-03 11:57:00 +01:00
commit 3a64d58d23
12 changed files with 31 additions and 20 deletions

View file

@ -32,7 +32,7 @@ class _SettingsState extends State<Settings> {
void logoutAction(BuildContext context) async {
await Navigator.of(context).pop();
MatrixState matrix = Matrix.of(context);
await matrix.tryRequestWithLoadingDialog(matrix.client.logout());
await matrix.tryRequestWithErrorToast(matrix.client.logout());
matrix.clean();
}