diff --git a/app/src/main/kotlin/star/sky/voyager/hook/hooks/powerkeeper/CustomRefreshRateP.kt b/app/src/main/kotlin/star/sky/voyager/hook/hooks/powerkeeper/CustomRefreshRateP.kt index 78e1081b..debeaf5a 100644 --- a/app/src/main/kotlin/star/sky/voyager/hook/hooks/powerkeeper/CustomRefreshRateP.kt +++ b/app/src/main/kotlin/star/sky/voyager/hook/hooks/powerkeeper/CustomRefreshRateP.kt @@ -14,8 +14,10 @@ object CustomRefreshRateP : HookRegister() { name == "parseCustomModeSwitchFromDb" && paramCount == 1 && parameterTypes[0] == String::class.java }.createHook { before { - setObject(it.thisObject,"mIsCustomFpsSwitch", true) - setObject(it.thisObject,"fucSwitch", true) +// setObject(it.thisObject, "fucSwitch", true) + setObject(it.thisObject, "mIsCustomFpsSwitch", "true") +// val qwq = getObjectOrNull(it.thisObject, "mIsCustomFpsSwitch") +// Log.i("hook mIsCustomFpsSwitch success, its:$qwq") } } }