TF-933 Apply new design for SearchInputForm on Web Desktop

This commit is contained in:
dab246
2022-09-15 19:15:29 +07:00
committed by Dat H. Pham
parent 0fb78cef5e
commit e23f4b7756
9 changed files with 456 additions and 367 deletions
@@ -176,11 +176,12 @@ class ThreadView extends GetWidget<ThreadController> with AppLoaderMixin,
portalFollower: _responsiveUtils.isMobile(context)
? const SizedBox.shrink()
: const AdvancedSearchFilterOverlay(),
child: (SearchBarView(_imagePaths)
..hintTextSearch(AppLocalizations.of(context).search_emails)
..addOnOpenSearchViewAction(() => controller.enableSearch(context))
..addRightButton(IconOpenAdvancedSearchWidget(context)))
.build(),
child: SearchBarView(
_imagePaths,
hintTextSearch: AppLocalizations.of(context).search_emails,
onOpenSearchViewAction: () => controller.enableSearch(context),
rightButton: IconOpenAdvancedSearchWidget(context),
),
),
);
}