Name lost when creating custom gateway

This commit is contained in:
Hillel Coren 2022-01-16 16:57:08 +02:00
parent 17694e30c7
commit eb335c7cd2
1 changed files with 1 additions and 4 deletions

View File

@ -529,7 +529,6 @@ class GatewayConfigField extends StatefulWidget {
class _GatewayConfigFieldState extends State<GatewayConfigField> {
bool autoValidate = false;
TextEditingController _textController;
final _debouncer = Debouncer();
@override
void initState() {
@ -555,9 +554,7 @@ class _GatewayConfigFieldState extends State<GatewayConfigField> {
}
void _onChanged() {
_debouncer.run(() {
widget.onChanged(_textController.text.trim());
});
widget.onChanged(_textController.text.trim());
}
bool _obscureText(String field) {