mirror of
https://github.com/revanced/revanced-patches
synced 2024-09-03 04:56:05 +02:00
fix(youtube/tablet-mini-player): throw if fingerprint fails to resolve
This commit is contained in:
parent
0b60c2d1c0
commit
642eef39e8
@ -67,10 +67,9 @@ class TabletMiniPlayerPatch : BytecodePatch(
|
|||||||
*/
|
*/
|
||||||
MiniPlayerOverrideParentFingerprint.result?.let {
|
MiniPlayerOverrideParentFingerprint.result?.let {
|
||||||
if (!MiniPlayerOverrideFingerprint.resolve(context, it.classDef))
|
if (!MiniPlayerOverrideFingerprint.resolve(context, it.classDef))
|
||||||
return MiniPlayerOverrideFingerprint.toErrorResult()
|
throw MiniPlayerOverrideFingerprint.toErrorResult()
|
||||||
|
|
||||||
MiniPlayerOverrideFingerprint.addProxyCall()
|
MiniPlayerOverrideFingerprint.addProxyCall()
|
||||||
|
|
||||||
} ?: return MiniPlayerOverrideParentFingerprint.toErrorResult()
|
} ?: return MiniPlayerOverrideParentFingerprint.toErrorResult()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user