diff --git a/example/lib/main.dart b/example/lib/main.dart index b0f5d73f..2a30af4f 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -289,7 +289,7 @@ class _NewChatScreenState extends State { void _userNameListener() { if (_debounce?.isActive ?? false) _debounce.cancel(); - _debounce = Timer(const Duration(milliseconds: 500), () { + _debounce = Timer(const Duration(milliseconds: 350), () { if (mounted) setState(() { _userNameQuery = _controller.text; @@ -544,7 +544,7 @@ class _NewGroupChatScreenState extends State { void _userNameListener() { if (_debounce?.isActive ?? false) _debounce.cancel(); - _debounce = Timer(const Duration(milliseconds: 500), () { + _debounce = Timer(const Duration(milliseconds: 350), () { if (mounted) setState(() { _userNameQuery = _controller.text;