Skip to content

Commit

Permalink
修复TIM 4.0.95.4001入口创建
Browse files Browse the repository at this point in the history
  • Loading branch information
teble committed Nov 11, 2024
1 parent 745f792 commit 4d4908b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ class QQSettingSettingActivityHook : BaseHook() {
}
.sortedBy { it.name }
LogUtil.d("listeners: $listeners")
if (listeners.size != 2) {
throw IllegalStateException("listeners.size != 2, count: ${listeners.size}")
if (listeners.size > 2) {
throw IllegalStateException("listeners.size > 2, count: ${listeners.size}")
}
val mSimpleItemProcessorOnClickListener = listeners.first()
buildMethod.hookAfter {
Expand Down

0 comments on commit 4d4908b

Please sign in to comment.