图标间距减半与逾期任务过滤(v3.3)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user