图标间距减半与逾期任务过滤(v3.3)

This commit is contained in:
XIGE
2026-12-01 12:54:03 +08:00
parent 256c0d4540
commit 467d34afe8
5 changed files with 58 additions and 9 deletions

View File

@@ -543,7 +543,8 @@ class FocusFragment : Fragment(R.layout.fragment_focus) {
btnBack.visibility = View.VISIBLE
btnClear.visibility = View.VISIBLE
list.removeAllViews()
val tasks = Store.tasks(projectId, includeDone = false)
// 与项目展开同口径:逾期任务只在任务页出现,选任务列表只列当前可专注的
val tasks = Store.tasks(projectId, includeDone = false, includeOverdue = false)
if (tasks.isEmpty()) {
list.addView(TextView(ctx).apply {
text = getString(R.string.pick_task_empty)