常驻通知渠道改默认重要度(修复状态栏图标不显示);箭头细空格对齐;饼图标注墨迹对称(v0.13)
This commit is contained in:
@@ -373,6 +373,6 @@ class SettingsFragment : Fragment(R.layout.fragment_settings) {
|
||||
}
|
||||
|
||||
companion object {
|
||||
const val VERSION = "0.12"
|
||||
const val VERSION = "0.13"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user