fix: reset gql client on change

This commit is contained in:
Rongjian Zhang 2020-01-14 14:46:36 +08:00
parent c15c7096e9
commit 7b78e660cb
1 changed files with 1 additions and 0 deletions

View File

@ -184,6 +184,7 @@ class AuthModel with ChangeNotifier {
void setActiveAccountIndex(int index) {
activeAccountIndex = index;
_gqlClient = null;
notifyListeners();
}