From 7190066a8ded8b59970483a81d7902526d552093 Mon Sep 17 00:00:00 2001 From: aliernfrog <45766489+aliernfrog@users.noreply.github.com> Date: Sat, 31 Dec 2022 00:09:29 +0300 Subject: [PATCH 1/5] fix(youtube/bottom-controls-resource-patch): use correct length for `nameSpaceLength` (#1401) --- .../resource/patch/BottomControlsResourcePatch.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/playercontrols/resource/patch/BottomControlsResourcePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/playercontrols/resource/patch/BottomControlsResourcePatch.kt index fbba6efd3..4e94b219e 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/playercontrols/resource/patch/BottomControlsResourcePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/playercontrols/resource/patch/BottomControlsResourcePatch.kt @@ -68,7 +68,7 @@ class BottomControlsResourcePatch : ResourcePatch { "$namespace/$lastLeftOf" // set lastLeftOf attribute to the the current element - val nameSpaceLength = 4 + val nameSpaceLength = 5 lastLeftOf = element.attributes.getNamedItem("android:id").nodeValue.substring(nameSpaceLength) // copy the element From 12571dda75d0c1f7cd679c1e252691c60c6183da Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 30 Dec 2022 21:11:17 +0000 Subject: [PATCH 2/5] chore(release): 2.149.1-dev.1 [skip ci] ## [2.149.1-dev.1](https://github.com/revanced/revanced-patches/compare/v2.149.0...v2.149.1-dev.1) (2022-12-30) ### Bug Fixes * **youtube/bottom-controls-resource-patch:** use correct length for `nameSpaceLength` ([#1401](https://github.com/revanced/revanced-patches/issues/1401)) ([7190066](https://github.com/revanced/revanced-patches/commit/7190066a8ded8b59970483a81d7902526d552093)) --- CHANGELOG.md | 7 +++++++ gradle.properties | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f7c78e678..db23f12f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [2.149.1-dev.1](https://github.com/revanced/revanced-patches/compare/v2.149.0...v2.149.1-dev.1) (2022-12-30) + + +### Bug Fixes + +* **youtube/bottom-controls-resource-patch:** use correct length for `nameSpaceLength` ([#1401](https://github.com/revanced/revanced-patches/issues/1401)) ([7190066](https://github.com/revanced/revanced-patches/commit/7190066a8ded8b59970483a81d7902526d552093)) + # [2.149.0](https://github.com/revanced/revanced-patches/compare/v2.148.0...v2.149.0) (2022-12-30) diff --git a/gradle.properties b/gradle.properties index 4764b5980..f347b2a70 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ kotlin.code.style = official -version = 2.149.0 +version = 2.149.1-dev.1 From e1354852501cb582549cbf0634b1a15e1d0012d9 Mon Sep 17 00:00:00 2001 From: 0xrxL <120989892+0xrxL@users.noreply.github.com> Date: Sat, 31 Dec 2022 03:48:57 +0100 Subject: [PATCH 3/5] fix(youtube/general-ads): resolve fingerprint to correct method (#1404) --- .../fingerprints/CanScrollVerticallyFingerprint.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/fix/verticalscroll/fingerprints/CanScrollVerticallyFingerprint.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/fix/verticalscroll/fingerprints/CanScrollVerticallyFingerprint.kt index a0238430a..338e07774 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/fix/verticalscroll/fingerprints/CanScrollVerticallyFingerprint.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/fix/verticalscroll/fingerprints/CanScrollVerticallyFingerprint.kt @@ -8,6 +8,8 @@ object CanScrollVerticallyFingerprint : MethodFingerprint( "Z", parameters = emptyList(), opcodes = listOf( + Opcode.MOVE_RESULT, + Opcode.RETURN, Opcode.INVOKE_VIRTUAL, Opcode.MOVE_RESULT, ), From 76c19324f190cbcb0d111499da0ee5c13cbfe2b6 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sat, 31 Dec 2022 02:50:40 +0000 Subject: [PATCH 4/5] chore(release): 2.149.1-dev.2 [skip ci] ## [2.149.1-dev.2](https://github.com/revanced/revanced-patches/compare/v2.149.1-dev.1...v2.149.1-dev.2) (2022-12-31) ### Bug Fixes * **youtube/general-ads:** resolve fingerprint to correct method ([#1404](https://github.com/revanced/revanced-patches/issues/1404)) ([e135485](https://github.com/revanced/revanced-patches/commit/e1354852501cb582549cbf0634b1a15e1d0012d9)) --- CHANGELOG.md | 7 +++++++ gradle.properties | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index db23f12f0..0978e28c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [2.149.1-dev.2](https://github.com/revanced/revanced-patches/compare/v2.149.1-dev.1...v2.149.1-dev.2) (2022-12-31) + + +### Bug Fixes + +* **youtube/general-ads:** resolve fingerprint to correct method ([#1404](https://github.com/revanced/revanced-patches/issues/1404)) ([e135485](https://github.com/revanced/revanced-patches/commit/e1354852501cb582549cbf0634b1a15e1d0012d9)) + ## [2.149.1-dev.1](https://github.com/revanced/revanced-patches/compare/v2.149.0...v2.149.1-dev.1) (2022-12-30) diff --git a/gradle.properties b/gradle.properties index f347b2a70..4549952ac 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ kotlin.code.style = official -version = 2.149.1-dev.1 +version = 2.149.1-dev.2 From fd0fe1c86ca99e395d340e85f4f1eb7b221e90ea Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Sat, 31 Dec 2022 10:39:37 +0400 Subject: [PATCH 5/5] feat(youtube/return-youtube-dislike): better formatting and LTR support (#1370) --- src/main/resources/returnyoutubedislike/host/values/strings.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/resources/returnyoutubedislike/host/values/strings.xml b/src/main/resources/returnyoutubedislike/host/values/strings.xml index b01df034c..fd6c1941b 100644 --- a/src/main/resources/returnyoutubedislike/host/values/strings.xml +++ b/src/main/resources/returnyoutubedislike/host/values/strings.xml @@ -1,4 +1,6 @@ + Hidden + Dislikes temporarily not available (API timed out) Dislikes not available (client API limit reached)