mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 21:27:43 +02:00
fix(YouTube Music/Disable dislike redirection): not working at notification controls or widgets
This commit is contained in:
@ -257,6 +257,11 @@ fun MutableMethod.getTargetIndexWithReferenceReversed(startIndex: Int, reference
|
||||
return -1
|
||||
}
|
||||
|
||||
fun MutableMethod.getWalkerMethod(context: BytecodeContext, index: Int) =
|
||||
context.toMethodWalker(this)
|
||||
.nextMethod(index, true)
|
||||
.getMethod() as MutableMethod
|
||||
|
||||
fun BytecodeContext.updatePatchStatus(
|
||||
className: String,
|
||||
methodName: String
|
||||
|
Reference in New Issue
Block a user