diff --git a/app/src/main/java/io/github/qauxv/util/QQVersion.java b/app/src/main/java/io/github/qauxv/util/QQVersion.java index c86dc713b6..567d4d0490 100644 --- a/app/src/main/java/io/github/qauxv/util/QQVersion.java +++ b/app/src/main/java/io/github/qauxv/util/QQVersion.java @@ -105,4 +105,5 @@ private QQVersion() { public static final long QQ_8_9_80 = 4614; public static final long QQ_8_9_83 = 4680; public static final long qq_8_9_85 = 4766; + public static final long QQ_8_9_88_12880 = 4790; // beta } diff --git a/app/src/main/java/me/ketal/hook/ChatItemShowQQUin.kt b/app/src/main/java/me/ketal/hook/ChatItemShowQQUin.kt index e36bf23625..90b539aa84 100644 --- a/app/src/main/java/me/ketal/hook/ChatItemShowQQUin.kt +++ b/app/src/main/java/me/ketal/hook/ChatItemShowQQUin.kt @@ -96,6 +96,7 @@ object ChatItemShowQQUin : CommonConfigFunctionHook(), OnBubbleBuilder { // X2J_APT <- ???Binding <- AIOSenderBubbleTemplate private val NAME_TAIL_LAYOUT = when { + requireMinQQVersion(QQVersion.QQ_8_9_88_12880) -> "slv" requireMinQQVersion(QQVersion.qq_8_9_85) -> "sih" requireMinQQVersion(QQVersion.QQ_8_9_83) -> "shv" requireMinQQVersion(QQVersion.QQ_8_9_80) -> "sg6"