mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 19:28:27 +08:00
show search rcmd reason
Closes #921 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user