Compare commits

...

5 Commits

Author SHA1 Message Date
semantic-release-bot
45f12d63ee chore(release): 2.201.0-dev.1 [skip ci]
# [2.201.0-dev.1](https://github.com/ReVanced/revanced-patches/compare/v2.200.1-dev.1...v2.201.0-dev.1) (2023-11-23)

### Features

* **YouTube - Hide ads:** Hide shopping links in video description ([5d3f62f](5d3f62fc67))
* **YouTube - Hide layout components:** Hide "For You" shelf in channel page ([273fe59](273fe59f0c))
2023-11-23 00:20:29 +00:00
oSumAtrIX
5d3f62fc67 feat(YouTube - Hide ads): Hide shopping links in video description 2023-11-23 01:18:31 +01:00
oSumAtrIX
273fe59f0c feat(YouTube - Hide layout components): Hide "For You" shelf in channel page 2023-11-23 01:18:31 +01:00
semantic-release-bot
1041238632 chore(release): 2.200.1-dev.1 [skip ci]
## [2.200.1-dev.1](https://github.com/ReVanced/revanced-patches/compare/v2.200.0...v2.200.1-dev.1) (2023-11-23)

### Bug Fixes

* **YouTube - Enable tablet layout:** Respect the original device layout ([e88d6a8](e88d6a8bba))
2023-11-23 00:01:35 +00:00
oSumAtrIX
e88d6a8bba fix(YouTube - Enable tablet layout): Respect the original device layout 2023-11-23 00:59:32 +01:00
5 changed files with 29 additions and 2 deletions

View File

@@ -1,3 +1,18 @@
# [2.201.0-dev.1](https://github.com/ReVanced/revanced-patches/compare/v2.200.1-dev.1...v2.201.0-dev.1) (2023-11-23)
### Features
* **YouTube - Hide ads:** Hide shopping links in video description ([50e0f77](https://github.com/ReVanced/revanced-patches/commit/50e0f775875d8b91612dafdb2ce2e0196f913a98))
* **YouTube - Hide layout components:** Hide "For You" shelf in channel page ([207f02f](https://github.com/ReVanced/revanced-patches/commit/207f02faf956fe77be50b8ca9846a60b15ef4e25))
## [2.200.1-dev.1](https://github.com/ReVanced/revanced-patches/compare/v2.200.0...v2.200.1-dev.1) (2023-11-23)
### Bug Fixes
* **YouTube - Enable tablet layout:** Respect the original device layout ([1eb12cc](https://github.com/ReVanced/revanced-patches/commit/1eb12cc40ac5c25410dac9857ff4a9585c25f5cc))
# [2.200.0](https://github.com/ReVanced/revanced-patches/compare/v2.199.0...v2.200.0) (2023-11-22) # [2.200.0](https://github.com/ReVanced/revanced-patches/compare/v2.199.0...v2.200.0) (2023-11-22)

View File

@@ -1,4 +1,4 @@
org.gradle.parallel = true org.gradle.parallel = true
org.gradle.caching = true org.gradle.caching = true
kotlin.code.style = official kotlin.code.style = official
version = 2.200.0 version = 2.201.0-dev.1

View File

@@ -55,6 +55,12 @@ object HideAdsResourcePatch : ResourcePatch() {
StringResource("revanced_hide_products_banner_summary_on", "Banner is hidden"), StringResource("revanced_hide_products_banner_summary_on", "Banner is hidden"),
StringResource("revanced_hide_products_banner_summary_off", "Banner is shown") StringResource("revanced_hide_products_banner_summary_off", "Banner is shown")
), ),
SwitchPreference(
"revanced_hide_shopping_links",
StringResource("revanced_hide_shopping_links_title", "Hide shopping links in video description"),
StringResource("revanced_hide_shopping_links_summary_on", "Shopping links are hidden"),
StringResource("revanced_hide_shopping_links_summary_off", "Shopping links are shown")
),
SwitchPreference( SwitchPreference(
"revanced_hide_web_search_results", "revanced_hide_web_search_results",
StringResource("revanced_hide_web_search_results_title", "Hide web search results"), StringResource("revanced_hide_web_search_results_title", "Hide web search results"),

View File

@@ -74,6 +74,12 @@ object HideLayoutComponentsPatch : BytecodePatch(
StringResource("revanced_hide_channel_watermark_title_summary_on", "Watermark is hidden"), StringResource("revanced_hide_channel_watermark_title_summary_on", "Watermark is hidden"),
StringResource("revanced_hide_channel_watermark_title_summary_off", "Watermark is shown") StringResource("revanced_hide_channel_watermark_title_summary_off", "Watermark is shown")
), ),
SwitchPreference(
"revanced_hide_for_you_shelf",
StringResource("revanced_hide_for_you_shelf_title", "Hide \\\'For you\\\' shelf in channel page"),
StringResource("revanced_hide_for_you_shelf_summary_on", "Shelf is hidden"),
StringResource("revanced_hide_for_you_shelf_summary_off", "Shelf is shown")
),
SwitchPreference( SwitchPreference(
"revanced_hide_notify_me_button", "revanced_hide_notify_me_button",
StringResource("revanced_hide_notify_me_button_title", "Hide \\\'Notify me\\\' button"), StringResource("revanced_hide_notify_me_button_title", "Hide \\\'Notify me\\\' button"),

View File

@@ -42,7 +42,7 @@ object EnableTabletLayoutPatch : BytecodePatch(
addInstructionsWithLabels( addInstructionsWithLabels(
0, 0,
""" """
invoke-static {}, Lapp/revanced/integrations/patches/EnableTabletLayoutPatch;->enableTabletLayout()Z invoke-static { v0 }, Lapp/revanced/integrations/patches/EnableTabletLayoutPatch;->enableTabletLayout(Z)Z
move-result v0 move-result v0
if-nez v0, :is_large_form_factor if-nez v0, :is_large_form_factor
""", """,