feat: 隐藏热搜热榜的功能 issues#35

This commit is contained in:
guozhigq
2023-08-27 12:12:51 +08:00
parent b9e78bf2ec
commit 9528a6f462
4 changed files with 15 additions and 1 deletions

View File

@ -146,7 +146,9 @@ class _SearchPageState extends State<SearchPage> with RouteAware {
// 搜索建议
_searchSuggest(),
// 热搜
hotSearch(_searchController),
Visibility(
visible: _searchController.enableHotKey,
child: hotSearch(_searchController)),
// 搜索历史
_history()
],