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:
parent
c54df10234
commit
966fa824ed
@ -153,6 +153,12 @@ class AuthModel with ChangeNotifier {
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
_sub.cancel();
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
void setActiveAccountIndex(int index) {
|
||||
activeAccountIndex = index;
|
||||
notifyListeners();
|
||||
|
Loading…
Reference in New Issue
Block a user