File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
patches/src/main/kotlin/app/revanced/patches/spotify/extended Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 1
1
package app.revanced.patches.spotify.extended
2
2
3
- import app.revanced.patcher.extensions.InstructionExtensions.addInstruction
4
3
import app.revanced.patcher.extensions.InstructionExtensions.getInstruction
5
4
import app.revanced.patcher.extensions.InstructionExtensions.instructions
6
5
import app.revanced.patcher.extensions.InstructionExtensions.replaceInstruction
@@ -16,12 +15,6 @@ import com.android.tools.smali.dexlib2.Opcode
16
15
import com.android.tools.smali.dexlib2.iface.instruction.NarrowLiteralInstruction
17
16
import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction
18
17
19
- internal val addCreateTabMethodFingerprint = fingerprint {
20
- custom { method, _ ->
21
- method.containsLiteralInstruction(getResourceId(STRING , " bottom_navigation_bar_create_tab_title" ))
22
- }
23
- }
24
-
25
18
internal val removeCreateTabMethodFingerprint = fingerprint {
26
19
custom { method, _ ->
27
20
method.containsLiteralInstruction(getResourceId(STRING , " navigationbar_musicappitems_create_title" ))
@@ -37,8 +30,6 @@ val removeCreateTabPatch = bytecodePatch(
37
30
dependsOn(resourceMappingPatch)
38
31
39
32
execute {
40
- addCreateTabMethodFingerprint.method.addInstruction(0 , " return-void" )
41
-
42
33
val targetMethod = removeCreateTabMethodFingerprint.method
43
34
44
35
val lastInstructionIndex = targetMethod.instructions.count() - 1
You can’t perform that action at this time.
0 commit comments