mirror of
https://github.com/revanced/revanced-patches.git
synced 2025-12-07 01:51:27 +01:00
fix: Everything works now
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package app.revanced.patches.youtube.misc.navigation
|
||||
|
||||
import app.revanced.patcher.*
|
||||
import app.revanced.patcher.InstructionLocation.MatchAfterImmediately
|
||||
import app.revanced.patcher.InstructionLocation.MatchAfterWithin
|
||||
import app.revanced.patches.shared.misc.mapping.ResourceType
|
||||
import app.revanced.patches.shared.misc.mapping.resourceLiteral
|
||||
@@ -134,7 +135,8 @@ internal val imageEnumConstructorFingerprint = fingerprint {
|
||||
accessFlags(AccessFlags.STATIC, AccessFlags.CONSTRUCTOR)
|
||||
instructions(
|
||||
string("TAB_ACTIVITY_CAIRO"),
|
||||
opcode(Opcode.SPUT_OBJECT)
|
||||
opcode(Opcode.INVOKE_DIRECT, location = MatchAfterImmediately()),
|
||||
opcode(Opcode.SPUT_OBJECT, location = MatchAfterImmediately())
|
||||
)
|
||||
}
|
||||
|
||||
@@ -142,6 +144,9 @@ internal val setEnumMapFingerprint = fingerprint {
|
||||
instructions(
|
||||
resourceLiteral(ResourceType.DRAWABLE, "yt_fill_bell_black_24"),
|
||||
methodCall(smali = "Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;", location = MatchAfterWithin(10)),
|
||||
methodCall(smali = "Ljava/util/EnumMap;->put(Ljava/lang/Enum;Ljava/lang/Object;)Ljava/lang/Object;", location = MatchAfterWithin(10))
|
||||
methodCall(
|
||||
smali = "Ljava/util/EnumMap;->put(Ljava/lang/Enum;Ljava/lang/Object;)Ljava/lang/Object;",
|
||||
location = MatchAfterWithin(10)
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user