精简选任务弹层提示与项目行缩进;环图加粗留边距;通知图标常驻;统计标题样式统一
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user