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")
|
compatibleWith("com.adobe.photoshopmix")
|
||||||
|
|
||||||
apply {
|
apply {
|
||||||
disableLoginMethod.returnEarly(true)
|
isLoggedInMethod.returnEarly(true)
|
||||||
|
|
||||||
// Disables these buttons that cause the app to crash while not logged in.
|
// Disables these buttons that cause the app to crash while not logged in.
|
||||||
libButtonClickedMethod.returnEarly()
|
ccLibButtonClickHandlerMethod.returnEarly()
|
||||||
lightroomButtonClickedMethod.returnEarly()
|
lightroomButtonClickHandlerMethod.returnEarly()
|
||||||
ccButtonClickedMethod.returnEarly()
|
ccButtonClickHandlerMethod.returnEarly()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,23 +6,23 @@ import app.revanced.patcher.name
|
||||||
import app.revanced.patcher.patch.BytecodePatchContext
|
import app.revanced.patcher.patch.BytecodePatchContext
|
||||||
import app.revanced.patcher.returnType
|
import app.revanced.patcher.returnType
|
||||||
|
|
||||||
internal val BytecodePatchContext.disableLoginMethod by gettingFirstMethodDeclaratively{
|
internal val BytecodePatchContext.isLoggedInMethod by gettingFirstMethodDeclaratively {
|
||||||
name("isLoggedIn")
|
name("isLoggedIn")
|
||||||
definingClass("CreativeCloudSource;")
|
definingClass("CreativeCloudSource;")
|
||||||
returnType("Z")
|
returnType("Z")
|
||||||
}
|
}
|
||||||
|
|
||||||
internal val BytecodePatchContext.libButtonClickedMethod by gettingFirstMethodDeclaratively {
|
internal val BytecodePatchContext.ccLibButtonClickHandlerMethod by gettingFirstMethodDeclaratively {
|
||||||
name("ccLibButtonClickHandler")
|
name("ccLibButtonClickHandler")
|
||||||
definingClass("PSMixFragment;")
|
definingClass("PSMixFragment;")
|
||||||
}
|
}
|
||||||
|
|
||||||
internal val BytecodePatchContext.lightroomButtonClickedMethod by gettingFirstMethodDeclaratively {
|
internal val BytecodePatchContext.lightroomButtonClickHandlerMethod by gettingFirstMethodDeclaratively {
|
||||||
name("lightroomButtonClickHandler")
|
name("lightroomButtonClickHandler")
|
||||||
definingClass("PSMixFragment;")
|
definingClass("PSMixFragment;")
|
||||||
}
|
}
|
||||||
|
|
||||||
internal val BytecodePatchContext.ccButtonClickedMethod by gettingFirstMethodDeclaratively {
|
internal val BytecodePatchContext.ccButtonClickHandlerMethod by gettingFirstMethodDeclaratively {
|
||||||
name("ccButtonClickHandler")
|
name("ccButtonClickHandler")
|
||||||
definingClass("PSMixFragment;")
|
definingClass("PSMixFragment;")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue