Skip to content

Commit

Permalink
fix: ForcePhoneMode lazyMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
HdShare committed Aug 30, 2024
1 parent 4f4be22 commit db250c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ object ForcePhoneMode : CommonSwitchFunctionHook(targetProc = SyncUtils.PROC_ANY
override val isAvailable = requireMinQQVersion(QQVersion.QQ_8_9_15)

override fun initOnce() = throwOrTrue {
check(isAvailable) { "ForcePadMode is not available" }
check(isAvailable) { "ForcePhoneMode is not available" }
val appSettingClass = Initiator.loadClass("com.tencent.common.config.AppSetting")
appSettingClass.getDeclaredMethod("f").hookAfter {
val appIdPhone = appSettingClass.getStaticObject("e")
Expand Down

0 comments on commit db250c3

Please sign in to comment.