fix(chat): image and clear search bar

This commit is contained in:
mso7nueh
2024-08-26 15:35:01 +03:00
parent a4c28e5ddf
commit 0a2eae6824
3 changed files with 29 additions and 15 deletions

View File

@@ -39,6 +39,7 @@ class _ChatSelectScreenState extends State<ChatSelectScreen> {
title: Padding(
padding: const EdgeInsets.only(top: 8),
child: ChatSearchBarWidget(
onSuffixIconTap: () => context.read<ChatSelectCubit>().getChatRooms(),
onChanged: (query) {
if (query.length > 2) {
EasyDebounce.debounce(