mirror of
https://github.com/fankes/MIUINativeNotifyIcon.git
synced 2025-09-08 03:24:17 +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 {
|
when {
|
||||||
prefs.get(DataConst.ENABLE_NOTIFY_ICON_FORCE_APP_ICON) && isEnableHookColorNotifyIcon(isHooking = false) ->
|
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 {
|
customIcon != null -> iconImageView.apply {
|
||||||
/** 设置不要裁切到边界 */
|
/** 设置不要裁切到边界 */
|
||||||
clipToOutline = false
|
clipToOutline = false
|
||||||
|
Reference in New Issue
Block a user