TF-1694 Use KeyboardUtils to centralized management show/hide keyboard

(cherry picked from commit e2598476ecdc8c5d16a17dc3c777a34620013c64)
This commit is contained in:
dab246
2023-04-07 07:33:53 +07:00
committed by Dat Vu
parent ee686f2400
commit 84438efc89
18 changed files with 89 additions and 54 deletions
@@ -531,7 +531,7 @@ class MailboxDashBoardController extends ReloadableController {
clearFilterMessageOption();
searchController.updateFilterEmail(text: SearchQuery(value));
dispatchAction(StartSearchEmailAction());
FocusScope.of(context).unfocus();
KeyboardUtils.hideKeyboard(context);
if (_searchInsideEmailDetailedViewIsActive(context)) {
_closeEmailDetailedView();
}