mirror of
https://github.com/fankes/MIUINativeNotifyIcon.git
synced 2025-09-06 10:45:20 +08:00
Update version to 1.35,fix more bugs.
This commit is contained in:
@@ -643,12 +643,13 @@ class HookMain : IXposedHookLoadPackage {
|
|||||||
}[param.thisObject] as? StatusBarNotification?
|
}[param.thisObject] as? StatusBarNotification?
|
||||||
|
|
||||||
/** 强制设置图标 - 防止 MIPUSH 不生效 */
|
/** 强制设置图标 - 防止 MIPUSH 不生效 */
|
||||||
lpparam.hookSmallIconOnSet(
|
if (lpparam.hasIgnoreStatusBarIconColor() || !lpparam.isShowMiuiStyle())
|
||||||
context = iconImageView.context,
|
lpparam.hookSmallIconOnSet(
|
||||||
expandedNf,
|
context = iconImageView.context,
|
||||||
iconImageView.drawable,
|
expandedNf,
|
||||||
isLegacyWay = true
|
iconImageView.drawable,
|
||||||
) { icon -> iconImageView.setImageBitmap(icon) }
|
isLegacyWay = true
|
||||||
|
) { icon -> iconImageView.setImageBitmap(icon) }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 对于之前没有通知图标色彩判断功能的版本判断是 MIUI 样式就停止 Hook
|
* 对于之前没有通知图标色彩判断功能的版本判断是 MIUI 样式就停止 Hook
|
||||||
|
Reference in New Issue
Block a user