We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09a8d86 commit cf37f86Copy full SHA for cf37f86
app/src/main/java/com/fankes/miui/notify/hook/entity/SystemUIHooker.kt
@@ -498,7 +498,7 @@ object SystemUIHooker : YukiBaseHooker() {
498
/** 处理自定义通知图标优化 */
499
customTriple.first != null -> Pair(customTriple.first, true)
500
/** 若不是灰度图标自动处理为圆角 */
501
- isGrayscaleIcon.not() -> Pair(notifyInstance.compatPushingIcon(context, iconDrawable).rounded(context), false)
+ isGrayscaleIcon.not() -> Pair(notifyInstance.compatPushingIcon(context, iconDrawable).rounded(context), true)
502
/** 否则返回原始小图标 */
503
else -> Pair(notifyInstance.notification.smallIcon.loadDrawable(context), false)
504
}
0 commit comments