Compare commits

...

4 Commits

Author SHA1 Message Date
semantic-release-bot
46f2ca230b chore(release): 2.178.0-dev.6 [skip ci]
# [2.178.0-dev.6](https://github.com/revanced/revanced-patches/compare/v2.178.0-dev.5...v2.178.0-dev.6) (2023-06-18)

### Bug Fixes

* **youtube/hide-album-cards:** call correct integrations method ([08cfd81](08cfd81362))
2023-06-18 20:40:32 +00:00
oSumAtrIX
08cfd81362 fix(youtube/hide-album-cards): call correct integrations method 2023-06-18 22:37:51 +02:00
semantic-release-bot
e23ce108f0 chore(release): 2.178.0-dev.5 [skip ci]
# [2.178.0-dev.5](https://github.com/revanced/revanced-patches/compare/v2.178.0-dev.4...v2.178.0-dev.5) (2023-06-18)

### Features

* **youtube/hide-layout-components:** separate hiding expandable chips and chapters ([fc7db5c](fc7db5c672))
2023-06-18 16:51:21 +00:00
oSumAtrIX
fc7db5c672 feat(youtube/hide-layout-components): separate hiding expandable chips and chapters 2023-06-18 18:48:30 +02:00
4 changed files with 38 additions and 9 deletions

View File

@@ -1,3 +1,17 @@
# [2.178.0-dev.6](https://github.com/revanced/revanced-patches/compare/v2.178.0-dev.5...v2.178.0-dev.6) (2023-06-18)
### Bug Fixes
* **youtube/hide-album-cards:** call correct integrations method ([0dbffaa](https://github.com/revanced/revanced-patches/commit/0dbffaae7d6dcb7050a9ea6e3c771839bcfdfbe1))
# [2.178.0-dev.5](https://github.com/revanced/revanced-patches/compare/v2.178.0-dev.4...v2.178.0-dev.5) (2023-06-18)
### Features
* **youtube/hide-layout-components:** separate hiding expandable chips and chapters ([3fb1ce9](https://github.com/revanced/revanced-patches/commit/3fb1ce9f9af150b784e42aaf5b419bb123c08375))
# [2.178.0-dev.4](https://github.com/revanced/revanced-patches/compare/v2.178.0-dev.3...v2.178.0-dev.4) (2023-06-18)

View File

@@ -1,2 +1,2 @@
kotlin.code.style = official
version = 2.178.0-dev.4
version = 2.178.0-dev.6

View File

@@ -42,7 +42,7 @@ class AlbumCardsPatch : BytecodePatch(
"invoke-static {v$albumCardViewRegister}, " +
"Lapp/revanced/integrations/patches/HideAlbumCardsPatch;" +
"->" +
"hideAlbumCards(Landroid/view/View;)V"
"hideAlbumCard(Landroid/view/View;)V"
)
}
} ?: return AlbumCardsFingerprint.toErrorResult()

View File

@@ -45,18 +45,33 @@ class HideLayoutComponentsPatch : ResourcePatch {
)
),
SwitchPreference(
"revanced_hide_chapter_teaser",
"revanced_hide_expandable_chip",
StringResource(
"revanced_hide_chapter_teaser_title",
"Hide chapter teaser under videos"
"revanced_hide_expandable_chip_title",
"Hide the expandable chip under videos"
),
StringResource(
"revanced_hide_chapter_teaser_summary_on",
"Chapter teasers are hidden"
"revanced_hide_expandable_chip_summary_on",
"Expandable chips are hidden"
),
StringResource(
"revanced_hide_chapter_teaser_summary_off",
"Chapter teasers are shown"
"revanced_hide_expandable_chip_summary_off",
"Expandable chips are shown"
)
),
SwitchPreference(
"revanced_hide_chapters",
StringResource(
"revanced_hide_chapters_title",
"Hide chapters in the video description"
),
StringResource(
"revanced_hide_chapters_summary_on",
"Chapters are hidden"
),
StringResource(
"revanced_hide_chapters_summary_off",
"Chapters are shown"
)
),
SwitchPreference(