Skip to content

Commit

Permalink
fix: ChatItemShowQQUin on NT 8.9.80
Browse files Browse the repository at this point in the history
  • Loading branch information
cinit committed Sep 18, 2023
1 parent 9ef2f48 commit fb6949c
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 @@ -101,4 +101,5 @@ private QQVersion() {
public static final long QQ_8_9_73 = 4416;
public static final long QQ_8_9_75 = 4482;
public static final long QQ_8_9_78 = 4548;
public static final long QQ_8_9_80 = 4614;
}
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_80) -> "sg6"
requireMinQQVersion(QQVersion.QQ_8_9_78) -> "s_8"
requireMinQQVersion(QQVersion.QQ_8_9_75) -> "s_l"
requireMinQQVersion(QQVersion.QQ_8_9_73) -> "s8p"
Expand Down

0 comments on commit fb6949c

Please sign in to comment.