mirror of
https://github.com/fankes/MIUINativeNotifyIcon.git
synced 2025-09-04 01:35:26 +08:00
fix: handleAppIcon on A14 and HyperOS
This commit is contained in:
@@ -931,9 +931,7 @@ object SystemUIHooker : YukiBaseHooker() {
|
||||
}
|
||||
/** 修改 MIUI 风格通知栏的通知图标 */
|
||||
MiuiNotificationViewWrapperClass?.apply {
|
||||
method {
|
||||
name = "handleAppIcon"
|
||||
}.hook().replaceUnit {
|
||||
constructor().hook().after {
|
||||
field { name = "mAppIcon" }.get(instance).cast<ImageView>()?.clone {
|
||||
compatNotifyIcon(
|
||||
context = context,
|
||||
|
Reference in New Issue
Block a user