diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c79548ae..ec0b45aa4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +# [2.161.0-dev.2](https://github.com/revanced/revanced-patches/compare/v2.161.0-dev.1...v2.161.0-dev.2) (2023-02-10) + + +### Bug Fixes + +* **instagram/hide-timeline-ads:** fix compatibility with newer versions ([3d4646a](https://github.com/revanced/revanced-patches/commit/3d4646ae7efe13f9f7e47cf5ba7613aac4d04d66)) + +# [2.161.0-dev.1](https://github.com/revanced/revanced-patches/compare/v2.160.0...v2.161.0-dev.1) (2023-02-10) + + +### Features + +* **youtube/general-ads:** hide pill to view products ([7b1bc1a](https://github.com/revanced/revanced-patches/commit/7b1bc1ad50f2b38277b0c19aad735ea65f8333d3)) + # [2.160.0](https://github.com/revanced/revanced-patches/compare/v2.159.0...v2.160.0) (2023-02-10) diff --git a/gradle.properties b/gradle.properties index afeb4f2de..321f343ae 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ kotlin.code.style = official -version = 2.160.0 +version = 2.161.0-dev.2 diff --git a/src/main/kotlin/app/revanced/patches/instagram/patches/ads/timeline/fingerprints/MediaFingerprint.kt b/src/main/kotlin/app/revanced/patches/instagram/patches/ads/timeline/fingerprints/MediaFingerprint.kt index bfc52935b..3ae3fd824 100644 --- a/src/main/kotlin/app/revanced/patches/instagram/patches/ads/timeline/fingerprints/MediaFingerprint.kt +++ b/src/main/kotlin/app/revanced/patches/instagram/patches/ads/timeline/fingerprints/MediaFingerprint.kt @@ -3,5 +3,5 @@ package app.revanced.patches.instagram.patches.ads.timeline.fingerprints import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint object MediaFingerprint : MethodFingerprint( - strings = listOf("is_paid_partnership", "story_ad_headline", "is_panorama") + strings = listOf("force_overlay", "Media#updateFields", "live_reels_metadata") ) diff --git a/src/main/kotlin/app/revanced/patches/youtube/ad/general/resource/patch/GeneralAdsResourcePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/ad/general/resource/patch/GeneralAdsResourcePatch.kt index 734869dcf..84ef490ab 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/ad/general/resource/patch/GeneralAdsResourcePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/ad/general/resource/patch/GeneralAdsResourcePatch.kt @@ -87,6 +87,13 @@ class GeneralAdsResourcePatch : ResourcePatch { StringResource("revanced_adremover_compact_banner_enabled_summary_on", "Compact banners are hidden"), StringResource("revanced_adremover_compact_banner_enabled_summary_off", "Compact banners are shown") ), + SwitchPreference( + "revanced_adremover_view_products", + StringResource("revanced_adremover_view_products_title", "Hide pill to view products"), + true, + StringResource("revanced_adremover_view_products_summary_on", "Pill is hidden"), + StringResource("revanced_adremover_view_products_summary_off", "Pill is shown") + ), SwitchPreference( "revanced_adremover_movie", StringResource("revanced_adremover_movie_enabled_title", "Hide movies section"),