This commit is contained in:
MhdZiadHirati 2023-10-24 16:08:51 +03:00
parent 0812dabb2e
commit 0296fa24a0

View File

@ -57,9 +57,8 @@ class ChatScreen extends StatelessWidget {
SearchBarWidget( SearchBarWidget(
controller: searchFieldController, controller: searchFieldController,
onChanged: (value) { onChanged: (value) {
if (value == '') { lastDate = 'today'.tr;
lastDate = 'today'.tr;
}
if (debouncer?.isActive ?? false) { if (debouncer?.isActive ?? false) {
debouncer!.cancel(); debouncer!.cancel();
} }