常驻通知渠道改默认重要度(修复状态栏图标不显示);箭头细空格对齐;饼图标注墨迹对称(v0.13)

This commit is contained in:
XIGE
2026-11-29 11:09:43 +08:00
parent cc9cb506dc
commit 42d97d82f0
5 changed files with 32 additions and 13 deletions

View File

@@ -116,9 +116,11 @@ class TaskAdapter(
)
title.setSpan(RelativeSizeSpan(0.95f), title.length - stars.length, title.length, 0)
// 「随时」任务:标题后带品牌蓝上箭头表示置顶,列表里排在未完成最前面
// 「随时」任务:标题后带品牌蓝上箭头表示置顶,列表里排在未完成最前面。
// ↑ 字形窄、两侧留白大,全角空格会显得左边距比五角星宽,
// 改用细空格(U+2009)让两侧间隙与星标一致。
if (task.repeatType == com.focusbox.app.model.Repeat.ANYTIME && !task.done) {
title.append(" ↑")
title.append("\u2009↑")
title.setSpan(
android.text.style.ForegroundColorSpan(ctx.col(R.color.brand)),
title.length - 2, title.length, 0