mod: handle dispose

This commit is contained in:
bggRGjQaUbCoE
2024-08-29 17:45:41 +08:00
parent 536a2177c7
commit 33a4b408e1
43 changed files with 274 additions and 150 deletions

View File

@@ -116,6 +116,12 @@ class HomeController extends GetxController with GetTickerProviderStateMixin {
}
}
@override
void dispose() {
tabController.animation!.removeListener(() {});
super.dispose();
}
void searchDefault() async {
var res = await Request().get(Api.searchDefault);
if (res.data['code'] == 0) {