Compare commits

...

6 Commits

Author SHA1 Message Date
semantic-release-bot
f3ab06beea chore(release): 2.165.0-dev.3 [skip ci]
# [2.165.0-dev.3](https://github.com/revanced/revanced-patches/compare/v2.165.0-dev.2...v2.165.0-dev.3) (2023-02-24)

### Bug Fixes

* **instagram/hide-timeline-ads:** fix compatibility with newer versions ([#1672](https://github.com/revanced/revanced-patches/issues/1672)) ([bc43d9c](bc43d9c76f))
2023-02-24 22:52:17 +00:00
falafelp
bc43d9c76f fix(instagram/hide-timeline-ads): fix compatibility with newer versions (#1672)
Co-authored-by: BuildTools <unconfigured@null.spigotmc.org>
2023-02-24 23:50:34 +01:00
semantic-release-bot
3bb9e3c504 chore(release): 2.165.0-dev.2 [skip ci]
# [2.165.0-dev.2](https://github.com/revanced/revanced-patches/compare/v2.165.0-dev.1...v2.165.0-dev.2) (2023-02-24)

### Bug Fixes

* **youtube/general-ads:** remove duplicate preference ([5ff2565](5ff256509a))
2023-02-24 12:49:37 +00:00
oSumAtrIX
5ff256509a fix(youtube/general-ads): remove duplicate preference 2023-02-24 13:47:12 +01:00
semantic-release-bot
dd16fbf0b2 chore(release): 2.165.0-dev.1 [skip ci]
# [2.165.0-dev.1](https://github.com/revanced/revanced-patches/compare/v2.164.0...v2.165.0-dev.1) (2023-02-24)

### Features

* **youtube/general-ads:** hide image shelf from search results ([e584da9](e584da9cbf))
2023-02-24 03:15:53 +00:00
oSumAtrIX
e584da9cbf feat(youtube/general-ads): hide image shelf from search results
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2023-02-24 04:14:09 +01:00
4 changed files with 28 additions and 8 deletions

View File

@@ -1,3 +1,24 @@
# [2.165.0-dev.3](https://github.com/revanced/revanced-patches/compare/v2.165.0-dev.2...v2.165.0-dev.3) (2023-02-24)
### Bug Fixes
* **instagram/hide-timeline-ads:** fix compatibility with newer versions ([#1672](https://github.com/revanced/revanced-patches/issues/1672)) ([9a295a9](https://github.com/revanced/revanced-patches/commit/9a295a9aa1ca40e2afde22ea199805e8fbe93832))
# [2.165.0-dev.2](https://github.com/revanced/revanced-patches/compare/v2.165.0-dev.1...v2.165.0-dev.2) (2023-02-24)
### Bug Fixes
* **youtube/general-ads:** remove duplicate preference ([cd7a728](https://github.com/revanced/revanced-patches/commit/cd7a728f52cd29c76a24b37c07c0e4d4c5485b07))
# [2.165.0-dev.1](https://github.com/revanced/revanced-patches/compare/v2.164.0...v2.165.0-dev.1) (2023-02-24)
### Features
* **youtube/general-ads:** hide image shelf from search results ([e29230f](https://github.com/revanced/revanced-patches/commit/e29230f44930a9928c3f97222fe05b5493ef1710))
# [2.164.0](https://github.com/revanced/revanced-patches/compare/v2.163.0...v2.164.0) (2023-02-24)

View File

@@ -1,2 +1,2 @@
kotlin.code.style = official
version = 2.164.0
version = 2.165.0-dev.3

View File

@@ -21,6 +21,5 @@ object ShowAdFingerprint : MethodFingerprint(
Opcode.CONST_4,
Opcode.GOTO,
Opcode.CONST_4,
Opcode.RETURN,
),
)

View File

@@ -214,12 +214,12 @@ class GeneralAdsResourcePatch : ResourcePatch {
StringResource("revanced_hide_related_videos_summary_off", "Related videos are shown")
),
SwitchPreference(
"revanced_hide_channel_bar",
StringResource("revanced_hide_channel_bar_title", "Hide channel bar"),
false,
StringResource("revanced_hide_channel_bar_summary_on", "Channel bar is hidden"),
StringResource("revanced_hide_channel_bar_summary_off", "Channel bar is shown")
),
"revanced_hide_image_shelf",
StringResource("revanced_hide_image_shelf", "Hide image shelf in search results"),
true,
StringResource("revanced_hide_image_shelf_summary_on", "Image shelf is hidden"),
StringResource("revanced_hide_image_shelf_summary_off", "Image shelf is shown")
)
)
PreferenceScreen.ADS.addPreferences(