1
0
mirror of https://github.com/git-touch/git-touch synced 2024-12-16 18:28:51 +01:00

fix: dispose

This commit is contained in:
Rongjian Zhang 2019-10-03 12:24:09 +08:00
parent c54df10234
commit 966fa824ed

View File

@ -153,6 +153,12 @@ class AuthModel with ChangeNotifier {
notifyListeners();
}
@override
void dispose() {
_sub.cancel();
super.dispose();
}
void setActiveAccountIndex(int index) {
activeAccountIndex = index;
notifyListeners();