diff --git a/patches/src/main/kotlin/app/revanced/patches/lightroom/misc/bypassVersionCheck/DisableVersionCheckPatch.kt b/patches/src/main/kotlin/app/revanced/patches/lightroom/misc/bypassVersionCheck/DisableVersionCheckPatch.kt index 0e4345654..9d23b7716 100644 --- a/patches/src/main/kotlin/app/revanced/patches/lightroom/misc/bypassVersionCheck/DisableVersionCheckPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/lightroom/misc/bypassVersionCheck/DisableVersionCheckPatch.kt @@ -16,8 +16,8 @@ val disableVersionCheckPatch = bytecodePatch( val igetIndex = refreshRemoteConfigurationFingerprint.patternMatch!!.endIndex // This value represents the server command to clear all version restrictions. - const val STATUS_FORCE_RESET_HEX = "-0x2"; - replaceInstruction(igetIndex, "const/4 v1, $STATUS_FORCE_RESET_HEX") + val statusForceReset = "-0x2"; + replaceInstruction(igetIndex, "const/4 v1, $statusForceReset") } } }