opt search

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-26 12:38:54 +08:00
parent d17dbe139e
commit bb36876d1e
6 changed files with 31 additions and 29 deletions

View File

@@ -204,19 +204,17 @@ class _HomePageState extends State<HomePage>
semanticLabel: '搜索',
),
const SizedBox(width: 10),
if (_homeController.enableSearchWord) ...[
Expanded(
child: Obx(
() => Text(
_homeController.defaultSearch.value,
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: TextStyle(color: theme.colorScheme.outline),
),
Expanded(
child: Obx(
() => Text(
_homeController.defaultSearch.value,
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: TextStyle(color: theme.colorScheme.outline),
),
),
const SizedBox(width: 2),
],
),
const SizedBox(width: 5),
],
),
),