We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4e66b0 commit 509ecc8Copy full SHA for 509ecc8
docs/2_2_patch_anatomy.md
@@ -85,14 +85,14 @@ val disableAdsPatch = bytecodePatch(
85
// Business logic of the patch to disable ads in the app.
86
execute {
87
// Fingerprint to find the method to patch.
88
- val showAdsMatch by showAdsFingerprint {
+ val showAdsFingerprint = fingerprint {
89
// More about fingerprints on the next page of the documentation.
90
}
91
92
// In the method that shows ads,
93
// call DisableAdsPatch.shouldDisableAds() from the extension (precompiled DEX file)
94
// to enable or disable ads.
95
- showAdsMatch.method.addInstructions(
+ showAdsFingerprint.method.addInstructions(
96
0,
97
"""
98
invoke-static {}, LDisableAdsPatch;->shouldDisableAds()Z
0 commit comments