mirror of
https://github.com/fankes/MIUINativeNotifyIcon.git
synced 2025-09-05 10:15:31 +08:00
更正全部图标为半透明效果
This commit is contained in:
@@ -554,7 +554,7 @@ class HookEntry : YukiHookXposedInitProxy {
|
||||
*/
|
||||
else it.apply {
|
||||
field { name = "mCurrentSetColor" }.of<Int>(instance)?.also { color ->
|
||||
alpha = 0.9f
|
||||
alpha = if (color.isWhite) 0.95f else 0.75f
|
||||
setColorFilter(if (color.isWhite) color else Color.BLACK)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user