File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
patches/src/main/kotlin/app/revanced/patches/bandcamp/limitations Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ package app.revanced.patches.bandcamp.limitations
33import app.revanced.patcher.fingerprint
44
55internal val handlePlaybackLimitsFingerprint = fingerprint {
6- strings(" play limits processing track " , " found play_count" )
6+ strings(" track_id " , " play_count" )
77}
Original file line number Diff line number Diff line change 11package app.revanced.patches.bandcamp.limitations
22
3- import app.revanced.patcher.extensions.InstructionExtensions.addInstructions
43import app.revanced.patcher.patch.bytecodePatch
4+ import app.revanced.util.returnEarly
55
66@Suppress(" unused" )
77val removePlayLimitsPatch = bytecodePatch(
@@ -11,6 +11,6 @@ val removePlayLimitsPatch = bytecodePatch(
1111 compatibleWith(" com.bandcamp.android" )
1212
1313 execute {
14- handlePlaybackLimitsFingerprint.method.addInstructions( 0 , " return-void " )
14+ handlePlaybackLimitsFingerprint.method.returnEarly( )
1515 }
1616}
You can’t perform that action at this time.
0 commit comments