mirror of
https://github.com/fankes/MIUINativeNotifyIcon.git
synced 2025-09-07 03:05:51 +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?
|
||||
|
||||
/** 强制设置图标 - 防止 MIPUSH 不生效 */
|
||||
lpparam.hookSmallIconOnSet(
|
||||
context = iconImageView.context,
|
||||
expandedNf,
|
||||
iconImageView.drawable,
|
||||
isLegacyWay = true
|
||||
) { icon -> iconImageView.setImageBitmap(icon) }
|
||||
if (lpparam.hasIgnoreStatusBarIconColor() || !lpparam.isShowMiuiStyle())
|
||||
lpparam.hookSmallIconOnSet(
|
||||
context = iconImageView.context,
|
||||
expandedNf,
|
||||
iconImageView.drawable,
|
||||
isLegacyWay = true
|
||||
) { icon -> iconImageView.setImageBitmap(icon) }
|
||||
|
||||
/**
|
||||
* 对于之前没有通知图标色彩判断功能的版本判断是 MIUI 样式就停止 Hook
|
||||
|
Reference in New Issue
Block a user