mirror of
https://github.com/fankes/MIUINativeNotifyIcon.git
synced 2025-09-05 18:25:23 +08:00
Fix mi push icon wrong when open force app icon in notify panel
This commit is contained in:
@@ -474,7 +474,7 @@ object SystemUIHooker : YukiBaseHooker() {
|
||||
/** 处理自定义通知图标优化 */
|
||||
when {
|
||||
prefs.get(DataConst.ENABLE_NOTIFY_ICON_FORCE_APP_ICON) && isEnableHookColorNotifyIcon(isHooking = false) ->
|
||||
setDefaultNotifyIcon(context.findAppIcon(notifyInstance.compatOpPkgName))
|
||||
setDefaultNotifyIcon(context.findAppIcon(notifyInstance.nfPkgName))
|
||||
customIcon != null -> iconImageView.apply {
|
||||
/** 设置不要裁切到边界 */
|
||||
clipToOutline = false
|
||||
|
Reference in New Issue
Block a user