diff --git a/src/main/kotlin/app/revanced/patches/youtube/player/infocards/HideInfoCardsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/player/infocards/HideInfoCardsPatch.kt index 7f5d676bd..55ecfef1b 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/player/infocards/HideInfoCardsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/player/infocards/HideInfoCardsPatch.kt @@ -60,7 +60,7 @@ object HideInfoCardsPatch : BytecodePatch( } } ?: throw InfoCardsIncognitoFingerprint.exception - LithoFilterPatch.addFilter("$PATCHES_PATH/ads/PlayerFilter;") + LithoFilterPatch.addFilter("$PATCHES_PATH/ads/InfoCardsFilter;") /** * Add settings diff --git a/src/main/kotlin/app/revanced/patches/youtube/player/watermark/HideChannelWatermarkPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/player/watermark/HideChannelWatermarkPatch.kt index 4a6c06e57..414b608c0 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/player/watermark/HideChannelWatermarkPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/player/watermark/HideChannelWatermarkPatch.kt @@ -11,14 +11,19 @@ import app.revanced.patcher.patch.annotation.CompatiblePackage import app.revanced.patcher.patch.annotation.Patch import app.revanced.patches.youtube.player.watermark.fingerprints.HideWatermarkFingerprint import app.revanced.patches.youtube.player.watermark.fingerprints.HideWatermarkParentFingerprint +import app.revanced.patches.youtube.utils.litho.LithoFilterPatch import app.revanced.patches.youtube.utils.settings.SettingsPatch +import app.revanced.util.integrations.Constants.PATCHES_PATH import app.revanced.util.integrations.Constants.PLAYER import com.android.tools.smali.dexlib2.iface.instruction.TwoRegisterInstruction @Patch( name = "Hide channel watermark", description = "Hides creator's watermarks on videos.", - dependencies = [SettingsPatch::class], + dependencies = [ + LithoFilterPatch::class, + SettingsPatch::class + ], compatiblePackages = [ CompatiblePackage( "com.google.android.youtube", @@ -66,6 +71,8 @@ object HideChannelWatermarkBytecodePatch : BytecodePatch( } ?: throw HideWatermarkFingerprint.exception } ?: throw HideWatermarkParentFingerprint.exception + LithoFilterPatch.addFilter("$PATCHES_PATH/ads/WaterMarkFilter;") + /** * Add settings */