Skip to content

Commit 6192ece

Browse files
chore: Merge branch dev to main (#5950)
2 parents ebb446b + 5d99714 commit 6192ece

File tree

290 files changed

+12224
-6428
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

290 files changed

+12224
-6428
lines changed

CHANGELOG.md

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,137 @@
1+
# [5.41.0-dev.18](https://github.com/ReVanced/revanced-patches/compare/v5.41.0-dev.17...v5.41.0-dev.18) (2025-09-26)
2+
3+
4+
### Bug Fixes
5+
6+
* **YouTube - Settings:** Handle on screen back swipe gesture ([#6002](https://github.com/ReVanced/revanced-patches/issues/6002)) ([6f92b6c](https://github.com/ReVanced/revanced-patches/commit/6f92b6c50beab091f5f7ef7386579eda38cb4c66))
7+
8+
# [5.41.0-dev.17](https://github.com/ReVanced/revanced-patches/compare/v5.41.0-dev.16...v5.41.0-dev.17) (2025-09-26)
9+
10+
11+
### Bug Fixes
12+
13+
* **YouTube - SponsorBlock:** Show category color dot in voting dialog menu ([4be00d0](https://github.com/ReVanced/revanced-patches/commit/4be00d09b7b87dcfac324de8709af06e9f730791))
14+
15+
# [5.41.0-dev.16](https://github.com/ReVanced/revanced-patches/compare/v5.41.0-dev.15...v5.41.0-dev.16) (2025-09-26)
16+
17+
18+
### Features
19+
20+
* **YouTube Music:** Add `Theme` patch ([#5984](https://github.com/ReVanced/revanced-patches/issues/5984)) ([3bd76d6](https://github.com/ReVanced/revanced-patches/commit/3bd76d60d664befff29c24c9de56dac1486a6e67))
21+
22+
# [5.41.0-dev.15](https://github.com/ReVanced/revanced-patches/compare/v5.41.0-dev.14...v5.41.0-dev.15) (2025-09-25)
23+
24+
25+
### Features
26+
27+
* **YouTube - Hide layout components:** Add "Hide view count" and "Hide upload time" settings ([#5983](https://github.com/ReVanced/revanced-patches/issues/5983)) ([7a37d85](https://github.com/ReVanced/revanced-patches/commit/7a37d858fb937c6bdc2219103dac765b62600e6c))
28+
29+
# [5.41.0-dev.14](https://github.com/ReVanced/revanced-patches/compare/v5.41.0-dev.13...v5.41.0-dev.14) (2025-09-24)
30+
31+
32+
### Features
33+
34+
* **YouTube - Hide layout components:** Add "Hide Emoji and Timestamp buttons" setting ([#5992](https://github.com/ReVanced/revanced-patches/issues/5992)) ([2b555f6](https://github.com/ReVanced/revanced-patches/commit/2b555f67f07e0de5703c630888ce2fbba3145192))
35+
36+
# [5.41.0-dev.13](https://github.com/ReVanced/revanced-patches/compare/v5.41.0-dev.12...v5.41.0-dev.13) (2025-09-24)
37+
38+
39+
### Bug Fixes
40+
41+
* **YouTube - Hide Shorts components:** Fix "Hide preview comment" ([#5990](https://github.com/ReVanced/revanced-patches/issues/5990)) ([dd4e2cd](https://github.com/ReVanced/revanced-patches/commit/dd4e2cd0855ccc51b94593004fdd8150ac3b41cc))
42+
43+
# [5.41.0-dev.12](https://github.com/ReVanced/revanced-patches/compare/v5.41.0-dev.11...v5.41.0-dev.12) (2025-09-24)
44+
45+
46+
### Bug Fixes
47+
48+
* **YouTube - SponsorBlock:** Show category color in create new segment menu ([#5987](https://github.com/ReVanced/revanced-patches/issues/5987)) ([ffd933c](https://github.com/ReVanced/revanced-patches/commit/ffd933c6734274cdde5aaec0159b67f173f9228c))
49+
50+
# [5.41.0-dev.11](https://github.com/ReVanced/revanced-patches/compare/v5.41.0-dev.10...v5.41.0-dev.11) (2025-09-23)
51+
52+
53+
### Features
54+
55+
* **YouTube:** Add `Disable video codecs` patch ([#5981](https://github.com/ReVanced/revanced-patches/issues/5981)) ([bfbffbd](https://github.com/ReVanced/revanced-patches/commit/bfbffbd1f5aa867027053e25b343a51a606216a3))
56+
57+
# [5.41.0-dev.10](https://github.com/ReVanced/revanced-patches/compare/v5.41.0-dev.9...v5.41.0-dev.10) (2025-09-23)
58+
59+
60+
### Bug Fixes
61+
62+
* **TikTok:** Show correct dialog restart text, use correct font color for non-dark mode ([d1a1293](https://github.com/ReVanced/revanced-patches/commit/d1a12930c35f630793a0f240d4203c2ff9060158))
63+
64+
# [5.41.0-dev.9](https://github.com/ReVanced/revanced-patches/compare/v5.41.0-dev.8...v5.41.0-dev.9) (2025-09-23)
65+
66+
67+
### Bug Fixes
68+
69+
* **Instagram - Hide navigation buttons:** Remove button based on name ([#5971](https://github.com/ReVanced/revanced-patches/issues/5971)) ([6fa4043](https://github.com/ReVanced/revanced-patches/commit/6fa404331b5162682d83fba5f38ed570c31495fc))
70+
71+
# [5.41.0-dev.8](https://github.com/ReVanced/revanced-patches/compare/v5.41.0-dev.7...v5.41.0-dev.8) (2025-09-23)
72+
73+
74+
### Features
75+
76+
* **YouTube Music:** Add `Check watch history domain name resolution` ([#5979](https://github.com/ReVanced/revanced-patches/issues/5979)) ([8af70fe](https://github.com/ReVanced/revanced-patches/commit/8af70fe2d10c0f4da2d7e53bd00f5b3979775d5d))
77+
78+
# [5.41.0-dev.7](https://github.com/ReVanced/revanced-patches/compare/v5.41.0-dev.6...v5.41.0-dev.7) (2025-09-23)
79+
80+
81+
### Features
82+
83+
* **Tumblr:** Add `Disable Tumblr TV` patch ([#5959](https://github.com/ReVanced/revanced-patches/issues/5959)) ([212418b](https://github.com/ReVanced/revanced-patches/commit/212418b8db9a730ae9efa89ad2bef24952afbadd))
84+
85+
# [5.41.0-dev.6](https://github.com/ReVanced/revanced-patches/compare/v5.41.0-dev.5...v5.41.0-dev.6) (2025-09-22)
86+
87+
88+
### Features
89+
90+
* **YouTube - Spoof app version:** Add spoof target `20.05.46` that fixes transcript functionality ([5823f0e](https://github.com/ReVanced/revanced-patches/commit/5823f0e982e87b4a35d30feeca8a7e16edfebc5f))
91+
92+
# [5.41.0-dev.5](https://github.com/ReVanced/revanced-patches/compare/v5.41.0-dev.4...v5.41.0-dev.5) (2025-09-22)
93+
94+
95+
### Bug Fixes
96+
97+
* **Twitch - Settings:** Fix missing style resources ([#5970](https://github.com/ReVanced/revanced-patches/issues/5970)) ([8c22995](https://github.com/ReVanced/revanced-patches/commit/8c229954d7f232a7a472ca49f1b5e7cdc475bbcc))
98+
99+
# [5.41.0-dev.4](https://github.com/ReVanced/revanced-patches/compare/v5.41.0-dev.3...v5.41.0-dev.4) (2025-09-22)
100+
101+
102+
### Bug Fixes
103+
104+
* **Instagram - Limit feed to followed profiles:** Preserve favorites feed ([#5963](https://github.com/ReVanced/revanced-patches/issues/5963)) ([ef51401](https://github.com/ReVanced/revanced-patches/commit/ef514017f46025d9aef6884424caeb0670514e7a))
105+
106+
# [5.41.0-dev.3](https://github.com/ReVanced/revanced-patches/compare/v5.41.0-dev.2...v5.41.0-dev.3) (2025-09-22)
107+
108+
109+
### Features
110+
111+
* **YouTube - Loop video:** Add player button to change loop video state ([#5961](https://github.com/ReVanced/revanced-patches/issues/5961)) ([dfb5407](https://github.com/ReVanced/revanced-patches/commit/dfb5407e67222e80e23c8935e04b6dbf1a43d757))
112+
113+
# [5.41.0-dev.2](https://github.com/ReVanced/revanced-patches/compare/v5.41.0-dev.1...v5.41.0-dev.2) (2025-09-21)
114+
115+
116+
### Bug Fixes
117+
118+
* **YouTube - Spoof video streams:** Update client side effects summary text ([a0a62dd](https://github.com/ReVanced/revanced-patches/commit/a0a62ddad26cfab3e04907fae5532e1ba1fdf710))
119+
120+
# [5.41.0-dev.1](https://github.com/ReVanced/revanced-patches/compare/v5.40.1-dev.1...v5.41.0-dev.1) (2025-09-21)
121+
122+
123+
### Features
124+
125+
* **YouTube Music:** Add `Sanitize sharing links` patch ([#5952](https://github.com/ReVanced/revanced-patches/issues/5952)) ([45c1ee8](https://github.com/ReVanced/revanced-patches/commit/45c1ee8a12dc777a371875d90741a05cf5d8e9dd))
126+
127+
## [5.40.1-dev.1](https://github.com/ReVanced/revanced-patches/compare/v5.40.0...v5.40.1-dev.1) (2025-09-21)
128+
129+
130+
### Bug Fixes
131+
132+
* **YouTube - Return YouTube Dislike:** Do not show error toast if API returns 401 status ([#5949](https://github.com/ReVanced/revanced-patches/issues/5949)) ([58d088a](https://github.com/ReVanced/revanced-patches/commit/58d088ab307440a6912a867246da799b7dd6499b))
133+
* **YouTube - Settings:** Use an overlay to show search results ([#5806](https://github.com/ReVanced/revanced-patches/issues/5806)) ([ece8076](https://github.com/ReVanced/revanced-patches/commit/ece8076f7cefd752b97515014bc50fe4fd80171e))
134+
1135
# [5.40.0](https://github.com/ReVanced/revanced-patches/compare/v5.39.0...v5.40.0) (2025-09-21)
2136

3137

extensions/instagram/src/main/java/app/revanced/extension/instagram/feed/LimitFeedToFollowedProfiles.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,17 @@ public class LimitFeedToFollowedProfiles {
1010
* Injection point.
1111
*/
1212
public static Map<String, String> setFollowingHeader(Map<String, String> requestHeaderMap) {
13+
String paginationHeaderName = "pagination_source";
14+
15+
// Patch the header only if it's trying to fetch the default feed
16+
String currentHeader = requestHeaderMap.get(paginationHeaderName);
17+
if (currentHeader != null && !currentHeader.equals("feed_recs")) {
18+
return requestHeaderMap;
19+
}
20+
1321
// Create new map as original is unmodifiable.
1422
Map<String, String> patchedRequestHeaderMap = new HashMap<>(requestHeaderMap);
15-
patchedRequestHeaderMap.put("pagination_source", "following");
23+
patchedRequestHeaderMap.put(paginationHeaderName, "following");
1624
return patchedRequestHeaderMap;
1725
}
1826
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
package app.revanced.extension.instagram.hide.navigation;
2+
3+
import java.lang.reflect.Field;
4+
import java.util.List;
5+
6+
@SuppressWarnings("unused")
7+
public class HideNavigationButtonsPatch {
8+
9+
/**
10+
* Injection point.
11+
* @param navigationButtonsList the list of navigation buttons, as an (obfuscated) Enum type
12+
* @param buttonNameToRemove the name of the button we want to remove
13+
* @param enumNameField the field in the nav button enum class which contains the name of the button
14+
* @return the patched list of navigation buttons
15+
*/
16+
public static List<Object> removeNavigationButtonByName(
17+
List<Object> navigationButtonsList,
18+
String buttonNameToRemove,
19+
String enumNameField
20+
)
21+
throws IllegalAccessException, NoSuchFieldException {
22+
for (Object button : navigationButtonsList) {
23+
Field f = button.getClass().getDeclaredField(enumNameField);
24+
String currentButtonEnumName = (String) f.get(button);
25+
26+
if (buttonNameToRemove.equals(currentButtonEnumName)) {
27+
navigationButtonsList.remove(button);
28+
break;
29+
}
30+
}
31+
return navigationButtonsList;
32+
}
33+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
package app.revanced.extension.music.patches.theme;
2+
3+
import app.revanced.extension.shared.theme.BaseThemePatch;
4+
5+
@SuppressWarnings("unused")
6+
public class ThemePatch extends BaseThemePatch {
7+
8+
// Color constants used in relation with litho components.
9+
private static final int[] DARK_VALUES = {
10+
0xFF212121, // Comments box background.
11+
0xFF030303, // Button container background in album.
12+
0xFF000000, // Button container background in playlist.
13+
};
14+
15+
/**
16+
* Injection point.
17+
* <p>
18+
* Change the color of Litho components.
19+
* If the color of the component matches one of the values, return the background color.
20+
*
21+
* @param originalValue The original color value.
22+
* @return The new or original color value.
23+
*/
24+
public static int getValue(int originalValue) {
25+
return processColorValue(originalValue, DARK_VALUES, null);
26+
}
27+
}

extensions/music/src/main/java/app/revanced/extension/music/settings/GoogleApiActivityHook.java

Lines changed: 0 additions & 87 deletions
This file was deleted.

0 commit comments

Comments
 (0)