This commit is contained in:
LZX committed 2026-09-15 00:50:53 +08:00
1 parent cce34e7960
commit b49e096355
56 files changed
+8343 -296

No files matched your search

+3 -3
View File
@@ -272,14 +272,14 @@ class _RunTaskEditViewState extends State<RunTaskEditView> {
),
// 只显示:名称 + 用途(描述)
title: Text(
task.name,
task.getLocalizedName(l10n),
style: const TextStyle(fontWeight: FontWeight.w600, fontSize: 14),
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
subtitle: (task.description != null && task.description!.trim().isNotEmpty)
subtitle: task.getLocalizedDescription(l10n).trim().isNotEmpty
? Text(
task.description!.trim(),
task.getLocalizedDescription(l10n).trim(),
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: TextStyle(fontSize: 12, color: theme.colorScheme.outline),