1
0
mirror of https://github.com/git-touch/git-touch synced 2025-01-31 08:04:51 +01:00

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

View File

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