项目任务行恢复统计口径与完成记录对齐任务页(v3.9)

This commit is contained in:
XIGE
2026-12-01 16:52:28 +08:00
parent 44b0baacca
commit fcfd167623
5 changed files with 61 additions and 26 deletions

View File

@@ -555,11 +555,8 @@ class FocusFragment : Fragment(R.layout.fragment_focus) {
})
}
tasks.forEach { t ->
val meta = if (t.due > 0) {
"${Dates.dueLabel(t.due)}截止"
} else {
getString(R.string.time_anytime)
}
// 行内只写任务时间(专注时长),不挂截止/随时、也不标完成或逾期
val meta = "${t.focusMinutes}分钟"
addRow(
title = t.title,
meta = meta,