Skip to content

Commit

Permalink
fix: HideFriendChatVoice on 9.0.60
Browse files Browse the repository at this point in the history
  • Loading branch information
HdShare committed Oct 20, 2024
1 parent eecf29b commit 285e99c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/me/hd/hook/HideFriendChatVoice.kt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ object HideFriendChatVoice : CommonSwitchFunctionHook() {
when {
requireMinQQVersion(QQVersion.QQ_9_0_95) -> "com.tencent.mobileqq.aio.title.right2.Right2VB"
requireMinQQVersion(QQVersion.QQ_9_0_70) -> "com.tencent.mobileqq.aio.title.right2.b"
requireMinQQVersion(QQVersion.QQ_9_0_65) -> "com.tencent.mobileqq.aio.title.c.c"
requireMinQQVersion(QQVersion.QQ_9_0_60) -> "com.tencent.mobileqq.aio.title.c.c"
else -> "com.tencent.mobileqq.aio.title.c.d"
}
)
Expand All @@ -63,7 +63,7 @@ object HideFriendChatVoice : CommonSwitchFunctionHook() {
} else {
param.thisObject.get(
when {
requireMinQQVersion(QQVersion.QQ_9_0_65) -> "f"
requireMinQQVersion(QQVersion.QQ_9_0_60) -> "f"
else -> "e"
}
) as View
Expand Down

0 comments on commit 285e99c

Please sign in to comment.