fix errors

This commit is contained in:
Sai Naw Wun
2020-10-22 04:14:53 +06:30
parent 2021f74872
commit e5540c5491
32 changed files with 1069 additions and 811 deletions

View File

@@ -148,7 +148,9 @@ class MainModel extends ChangeNotifier {
}
Future<void> signout() async {
await removeMsgToken();
try {
await removeMsgToken();
} catch (e) {}
await Services.instance.authService.signout();
models.forEach((m) => m.logout());
}