Fix login without google services #33
This commit is contained in:
parent
c0c9e9cb73
commit
815d3c17d0
4 changed files with 11 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue