mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: search page
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -83,22 +83,24 @@ class _SearchPageState extends State<SearchPage> {
|
||||
if (_searchController.searchSuggestion) _searchSuggest(),
|
||||
if (context.orientation == Orientation.portrait) ...[
|
||||
if (_searchController.enableHotKey) hotSearch(),
|
||||
_history(),
|
||||
if (_searchController.recordSearchHistory.value) _history(),
|
||||
if (_searchController.enableSearchRcmd) hotSearch(false)
|
||||
] else
|
||||
Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
if (_searchController.enableHotKey)
|
||||
if (_searchController.enableHotKey ||
|
||||
_searchController.enableSearchRcmd)
|
||||
Expanded(
|
||||
child: Column(
|
||||
children: [
|
||||
hotSearch(),
|
||||
if (_searchController.enableHotKey) hotSearch(),
|
||||
if (_searchController.enableSearchRcmd)
|
||||
hotSearch(false)
|
||||
],
|
||||
),
|
||||
),
|
||||
if (_searchController.recordSearchHistory.value)
|
||||
Expanded(child: _history()),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user