mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-05 09:04:34 +02:00
fix(YouTube/Hide channel watermark): watermark is not hidden
This commit is contained in:
parent
8ce62ddb90
commit
49d01af2fb
@ -60,7 +60,7 @@ object HideInfoCardsPatch : BytecodePatch(
|
||||
}
|
||||
} ?: throw InfoCardsIncognitoFingerprint.exception
|
||||
|
||||
LithoFilterPatch.addFilter("$PATCHES_PATH/ads/PlayerFilter;")
|
||||
LithoFilterPatch.addFilter("$PATCHES_PATH/ads/InfoCardsFilter;")
|
||||
|
||||
/**
|
||||
* Add settings
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user