Skip to content

Commit

Permalink
fix: RemoveCameraButton isAvailable
Browse files Browse the repository at this point in the history
  • Loading branch information
HdShare committed Nov 5, 2024
1 parent 92c6ee3 commit fa95b89
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ object RemoveCameraButton : CommonSwitchFunctionHook("kr_disable_camera_button")

override val name: String = "屏蔽消息界面标题栏相机/小世界图标"

override val isAvailable: Boolean get() = !isTim() && !requireMinQQVersion(QQVersion.QQ_8_9_88)
override val isAvailable: Boolean get() = !isTim() && !requireMinQQVersion(QQVersion.QQ_9_0_8)

override fun initOnce() = throwOrTrue {
findMethod(Initiator._ConversationTitleBtnCtrl()) {
Expand Down

0 comments on commit fa95b89

Please sign in to comment.