add missing Get.delete, android can update id controller

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages 2023-08-09 13:54:09 +08:00
parent 9121de746f
commit fbde794d39
2 changed files with 6 additions and 0 deletions

View file

@ -196,6 +196,9 @@ class _ConnectionPageState extends State<ConnectionPage> {
@override
void dispose() {
_idController.dispose();
if (Get.isRegistered<IDTextEditingController>()) {
Get.delete<IDTextEditingController>();
}
super.dispose();
}
}