opt: dyn text

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-16 13:59:28 +08:00
parent 8291359cda
commit 83205caa80
3 changed files with 12 additions and 8 deletions

View File

@@ -58,8 +58,8 @@ Widget content(context, item, source, callback) {
fontSize: source == 'detail' ? 16 : 15,
),
richNodes,
maxLines: source == 'detail' ? 999 : 6,
overflow: TextOverflow.ellipsis,
maxLines: source == 'detail' ? null : 6,
overflow: source == 'detail' ? null : TextOverflow.ellipsis,
),
),
),