show search rcmd reason

Closes #921

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-01 18:32:55 +08:00
parent 53ef4219eb
commit 05bb27ee2b
3 changed files with 14 additions and 1 deletions

View File

@@ -17,6 +17,10 @@ class HotKeyword extends StatelessWidget {
@override
Widget build(BuildContext context) {
late final style = TextStyle(
fontSize: 14,
color: Theme.of(context).colorScheme.outline,
);
return Wrap(
runSpacing: 0.4,
spacing: 5.0,
@@ -63,7 +67,9 @@ class HotKeyword extends StatelessWidget {
width: 48,
height: 15,
),
),
)
else if (i.recommendReason?.isNotEmpty == true)
Text(i.recommendReason!, style: style),
],
),
),