From 7cd585cd78e284a82cee17d09f8049f0a5cdf2e8 Mon Sep 17 00:00:00 2001 From: inotia00 <108592928+inotia00@users.noreply.github.com> Date: Tue, 27 Sep 2022 13:55:15 +0900 Subject: [PATCH] fix(sponsorblock): correct class name for field reference (#582) --- .../sponsorblock/bytecode/patch/SponsorBlockBytecodePatch.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/sponsorblock/bytecode/patch/SponsorBlockBytecodePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/sponsorblock/bytecode/patch/SponsorBlockBytecodePatch.kt index 170418d1d..ec7972c1c 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/sponsorblock/bytecode/patch/SponsorBlockBytecodePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/sponsorblock/bytecode/patch/SponsorBlockBytecodePatch.kt @@ -331,7 +331,7 @@ class SponsorBlockBytecodePatch : BytecodePatch( startVideoInformerMethod.addInstructions( 0, """ const/4 v0, 0x0 - sput-boolean v0, Lapp/revanced/integrations/settings/SettingsEnum;->shorts_playing:Z + sput-boolean v0, Lapp/revanced/integrations/sponsorblock/PlayerController;->shorts_playing:Z """ ) @@ -340,7 +340,7 @@ class SponsorBlockBytecodePatch : BytecodePatch( shortsPlayerConstructorMethod.addInstructions( 0, """ const/4 v0, 0x1 - sput-boolean v0, Lapp/revanced/integrations/settings/SettingsEnum;->shorts_playing:Z + sput-boolean v0, Lapp/revanced/integrations/sponsorblock/PlayerController;->shorts_playing:Z """ )