feat(photoshopmix): Rename methods in Fingerprints.kt
This commit is contained in:
parent
5ac0bb6e47
commit
bfb37e5e19
2 changed files with 8 additions and 8 deletions
|
|
@ -11,11 +11,11 @@ val bypassLoginPatch = bytecodePatch(
|
|||
compatibleWith("com.adobe.photoshopmix")
|
||||
|
||||
apply {
|
||||
disableLoginMethod.returnEarly(true)
|
||||
isLoggedInMethod.returnEarly(true)
|
||||
|
||||
// Disables these buttons that cause the app to crash while not logged in.
|
||||
libButtonClickedMethod.returnEarly()
|
||||
lightroomButtonClickedMethod.returnEarly()
|
||||
ccButtonClickedMethod.returnEarly()
|
||||
ccLibButtonClickHandlerMethod.returnEarly()
|
||||
lightroomButtonClickHandlerMethod.returnEarly()
|
||||
ccButtonClickHandlerMethod.returnEarly()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,23 +6,23 @@ import app.revanced.patcher.name
|
|||
import app.revanced.patcher.patch.BytecodePatchContext
|
||||
import app.revanced.patcher.returnType
|
||||
|
||||
internal val BytecodePatchContext.disableLoginMethod by gettingFirstMethodDeclaratively{
|
||||
internal val BytecodePatchContext.isLoggedInMethod by gettingFirstMethodDeclaratively {
|
||||
name("isLoggedIn")
|
||||
definingClass("CreativeCloudSource;")
|
||||
returnType("Z")
|
||||
}
|
||||
|
||||
internal val BytecodePatchContext.libButtonClickedMethod by gettingFirstMethodDeclaratively {
|
||||
internal val BytecodePatchContext.ccLibButtonClickHandlerMethod by gettingFirstMethodDeclaratively {
|
||||
name("ccLibButtonClickHandler")
|
||||
definingClass("PSMixFragment;")
|
||||
}
|
||||
|
||||
internal val BytecodePatchContext.lightroomButtonClickedMethod by gettingFirstMethodDeclaratively {
|
||||
internal val BytecodePatchContext.lightroomButtonClickHandlerMethod by gettingFirstMethodDeclaratively {
|
||||
name("lightroomButtonClickHandler")
|
||||
definingClass("PSMixFragment;")
|
||||
}
|
||||
|
||||
internal val BytecodePatchContext.ccButtonClickedMethod by gettingFirstMethodDeclaratively {
|
||||
internal val BytecodePatchContext.ccButtonClickHandlerMethod by gettingFirstMethodDeclaratively {
|
||||
name("ccButtonClickHandler")
|
||||
definingClass("PSMixFragment;")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue