Fix login without google services #33

This commit is contained in:
Christian Pauly 2020-04-17 07:52:01 +02:00
commit 815d3c17d0
4 changed files with 11 additions and 2 deletions

View file

@ -155,7 +155,11 @@ class MatrixState extends State<Matrix> {
token = null;
}
if (token?.isEmpty ?? true) {
showToast(I18n.of(context).noGoogleServicesWarning);
showToast(
I18n.of(context).noGoogleServicesWarning,
duration: Duration(seconds: 15),
);
return;
}
await client.setPushers(
token,