项目页数字去空格、任务图标留间距、按session时间排除历史完成副本去重(v3.2)
This commit is contained in:
@@ -93,7 +93,7 @@ class TaskAdapter(
|
||||
|
||||
// 置顶图标前移到重要度圆圈之前(品牌蓝圆圈内向上箭头)
|
||||
if (task.repeatType == com.focusbox.app.model.Repeat.ANYTIME && !task.done) {
|
||||
title.append("\u2009")
|
||||
title.append(" ")
|
||||
title.setSpan(
|
||||
PinIconSpan(ctx.col(R.color.brand), iconSize),
|
||||
title.length - 1, title.length, 0,
|
||||
@@ -106,7 +106,8 @@ class TaskAdapter(
|
||||
1 -> "2" to R.color.urgent_mid
|
||||
else -> "1" to R.color.urgent_low
|
||||
}
|
||||
title.append(" ")
|
||||
// 与标题、与置顶圆圈各留两个可见空格的间距,避免图标贴在一起
|
||||
title.append(" ")
|
||||
title.setSpan(
|
||||
PriorityBadgeSpan(ctx.col(badgeColor), iconSize, digit),
|
||||
title.length - 1, title.length, 0,
|
||||
|
||||
Reference in New Issue
Block a user