Skip to content

Commit

Permalink
fix: ChatItemShowQQUin on NT 8.9.83
Browse files Browse the repository at this point in the history
  • Loading branch information
cinit committed Oct 2, 2023
1 parent b2cffb4 commit 12527ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/java/io/github/qauxv/util/QQVersion.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,5 @@ private QQVersion() {
public static final long QQ_8_9_76 = 4484;
public static final long QQ_8_9_78 = 4548;
public static final long QQ_8_9_80 = 4614;
public static final long QQ_8_9_83 = 4680;
}
1 change: 1 addition & 0 deletions app/src/main/java/me/ketal/hook/ChatItemShowQQUin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ object ChatItemShowQQUin : CommonConfigFunctionHook(), OnBubbleBuilder {

// X2J_APT <- ???Binding <- AIOSenderBubbleTemplate
private val NAME_TAIL_LAYOUT = when {
requireMinQQVersion(QQVersion.QQ_8_9_83) -> "shv"
requireMinQQVersion(QQVersion.QQ_8_9_80) -> "sg6"
requireMinQQVersion(QQVersion.QQ_8_9_78) -> "s_8"
requireMinQQVersion(QQVersion.QQ_8_9_75) -> "s_l"
Expand Down

0 comments on commit 12527ab

Please sign in to comment.