fix(YouTube Music/Disable dislike redirection): not working at notification controls or widgets

This commit is contained in:
inotia00
2024-03-27 16:37:20 +09:00
parent 49507936e9
commit df01c0bf8c
4 changed files with 75 additions and 23 deletions

View File

@ -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