From 7225bc3c48b2d8f94d21b5481e37d78a26f49544 Mon Sep 17 00:00:00 2001 From: johnconner122 <107796137+johnconner122@users.noreply.github.com> Date: Sat, 11 Feb 2023 18:49:33 +0500 Subject: [PATCH 1/3] fix(youtube/general-ads): use correct setting for `BlockRule` (#316) --- .../java/app/revanced/integrations/patches/GeneralAdsPatch.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/app/revanced/integrations/patches/GeneralAdsPatch.java b/app/src/main/java/app/revanced/integrations/patches/GeneralAdsPatch.java index e863b473..d8cecff5 100644 --- a/app/src/main/java/app/revanced/integrations/patches/GeneralAdsPatch.java +++ b/app/src/main/java/app/revanced/integrations/patches/GeneralAdsPatch.java @@ -36,7 +36,7 @@ public final class GeneralAdsPatch extends Filter { var artistCard = new BlockRule(SettingsEnum.HIDE_ARTIST_CARD, "official_card"); var selfSponsor = new BlockRule(SettingsEnum.ADREMOVER_SELF_SPONSOR_REMOVAL, "cta_shelf_card"); var chapterTeaser = new BlockRule(SettingsEnum.ADREMOVER_CHAPTER_TEASER_REMOVAL, "expandable_metadata"); - var viewProducts = new BlockRule(SettingsEnum.ADREMOVER_GRAY_SEPARATOR, "product_item", "products_in_video"); + var viewProducts = new BlockRule(SettingsEnum.ADREMOVER_VIEW_PRODUCTS, "product_item", "products_in_video"); var graySeparator = new BlockRule(SettingsEnum.ADREMOVER_GRAY_SEPARATOR, "cell_divider" // layout residue (gray line above the buttoned ad), ); From 0def31b2dd838785280cab80fd811a3e338ec9f9 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sat, 11 Feb 2023 13:51:25 +0000 Subject: [PATCH 2/3] chore(release): 0.96.2-dev.1 [skip ci] ## [0.96.2-dev.1](https://github.com/revanced/revanced-integrations/compare/v0.96.1...v0.96.2-dev.1) (2023-02-11) ### Bug Fixes * **youtube/general-ads:** use correct setting for `BlockRule` ([#316](https://github.com/revanced/revanced-integrations/issues/316)) ([7225bc3](https://github.com/revanced/revanced-integrations/commit/7225bc3c48b2d8f94d21b5481e37d78a26f49544)) --- CHANGELOG.md | 7 +++++++ gradle.properties | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef7029d6..b177d340 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [0.96.2-dev.1](https://github.com/revanced/revanced-integrations/compare/v0.96.1...v0.96.2-dev.1) (2023-02-11) + + +### Bug Fixes + +* **youtube/general-ads:** use correct setting for `BlockRule` ([#316](https://github.com/revanced/revanced-integrations/issues/316)) ([7225bc3](https://github.com/revanced/revanced-integrations/commit/7225bc3c48b2d8f94d21b5481e37d78a26f49544)) + ## [0.96.1](https://github.com/revanced/revanced-integrations/compare/v0.96.0...v0.96.1) (2023-02-11) diff --git a/gradle.properties b/gradle.properties index d3d148c1..fcca549f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ org.gradle.jvmargs = -Xmx2048m android.useAndroidX = true -version = 0.96.1 +version = 0.96.2-dev.1 From cfb7aab77991e8a123fb6956e699df8ad53bf59d Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Mon, 13 Feb 2023 03:31:01 +0100 Subject: [PATCH 3/3] fix(youtube/general-ads): do not hide chapters when hiding preview comments Signed-off-by: oSumAtrIX --- .../java/app/revanced/integrations/patches/CommentsPatch.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/app/revanced/integrations/patches/CommentsPatch.java b/app/src/main/java/app/revanced/integrations/patches/CommentsPatch.java index b290257e..41a1887c 100644 --- a/app/src/main/java/app/revanced/integrations/patches/CommentsPatch.java +++ b/app/src/main/java/app/revanced/integrations/patches/CommentsPatch.java @@ -9,7 +9,7 @@ final class CommentsPatch extends Filter { var comments = new BlockRule(SettingsEnum.HIDE_COMMENTS_SECTION, "video_metadata_carousel", "_comments"); var previewComment = new BlockRule( SettingsEnum.HIDE_PREVIEW_COMMENT, - "carousel_item", + "|carousel_item", "comments_entry_point_teaser", "comments_entry_point_simplebox" );