fix(Letterboxd - Hide ads): Fix patch by returning the correct return type (#6527)

This commit is contained in:
xehpuk 2026-01-25 11:03:06 +01:00 committed by GitHub
parent debf297d9e
commit 80c34b9d74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@ val hideAdsPatch = bytecodePatch(
execute {
admobHelperSetShowAdsFingerprint.method.addInstruction(0, "const p1, 0x0")
listOf(admobHelperShouldShowAdsFingerprint, filmFragmentShowAdsFingerprint, memberExtensionShowAdsFingerprint).forEach {
it.method.returnEarly(false)
it.method.returnEarly()
}
}
}