精简选任务弹层提示与项目行缩进;环图加粗留边距;通知图标常驻;统计标题样式统一

This commit is contained in:
XIGE
2026-11-28 07:54:05 +08:00
parent 0708569013
commit 1abf44296a
9 changed files with 56 additions and 22 deletions

View File

@@ -89,8 +89,8 @@ object Notif {
?: context.getString(R.string.notif_no_task)
val b = NotificationCompat.Builder(context, CHANNEL_TIMER)
// 透明小图标:状态栏与通知左侧不再出现应用图标
.setSmallIcon(R.drawable.ic_notif_blank)
// 常驻可见的白色秒表图标:透明图标在 EMUI 上会时隐时现,不能保证状态栏一直有提示
.setSmallIcon(R.drawable.ic_notif)
.setContentIntent(contentIntent(context))
.setOngoing(true)
.setOnlyAlertOnce(true)