Skip to content

Commit cf37f86

Browse files
committed
re:还原一处没必要的修改
Signed-off-by: ghhccghk <2137610394@qq.com>
1 parent 09a8d86 commit cf37f86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/fankes/miui/notify/hook/entity/SystemUIHooker.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ object SystemUIHooker : YukiBaseHooker() {
498498
/** 处理自定义通知图标优化 */
499499
customTriple.first != null -> Pair(customTriple.first, true)
500500
/** 若不是灰度图标自动处理为圆角 */
501-
isGrayscaleIcon.not() -> Pair(notifyInstance.compatPushingIcon(context, iconDrawable).rounded(context), false)
501+
isGrayscaleIcon.not() -> Pair(notifyInstance.compatPushingIcon(context, iconDrawable).rounded(context), true)
502502
/** 否则返回原始小图标 */
503503
else -> Pair(notifyInstance.notification.smallIcon.loadDrawable(context), false)
504504
}

0 commit comments

Comments
 (0)