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