From eb335c7cd2ac8894ceb76715e77fc81e17977a2f Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 16 Jan 2022 16:57:08 +0200 Subject: [PATCH] Name lost when creating custom gateway --- lib/ui/company_gateway/edit/company_gateway_edit.dart | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/ui/company_gateway/edit/company_gateway_edit.dart b/lib/ui/company_gateway/edit/company_gateway_edit.dart index 3b7a6cc62..e287d3831 100644 --- a/lib/ui/company_gateway/edit/company_gateway_edit.dart +++ b/lib/ui/company_gateway/edit/company_gateway_edit.dart @@ -529,7 +529,6 @@ class GatewayConfigField extends StatefulWidget { class _GatewayConfigFieldState extends State { bool autoValidate = false; TextEditingController _textController; - final _debouncer = Debouncer(); @override void initState() { @@ -555,9 +554,7 @@ class _GatewayConfigFieldState extends State { } void _onChanged() { - _debouncer.run(() { - widget.onChanged(_textController.text.trim()); - }); + widget.onChanged(_textController.text.trim()); } bool _obscureText(String field) {