Skip to content

Commit 9f3bb26

Browse files
chore: Merge branch dev to main (#6237)
2 parents cd9ef81 + d64dfc2 commit 9f3bb26

File tree

150 files changed

+3823
-1201
lines changed

Some content is hidden

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

150 files changed

+3823
-1201
lines changed

.github/workflows/build_pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: ./gradlew :patches:buildAndroid --no-daemon
3030

3131
- name: Upload artifacts
32-
uses: actions/upload-artifact@v4
32+
uses: actions/upload-artifact@v5
3333
with:
3434
name: revanced-patches
3535
path: patches/build/libs

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run: ./gradlew :patches:buildAndroid clean
3636

3737
- name: Setup Node.js
38-
uses: actions/setup-node@v5
38+
uses: actions/setup-node@v6
3939
with:
4040
node-version: 'lts/*'
4141
cache: 'npm'

CHANGELOG.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,76 @@
1+
# [5.46.0-dev.10](https://github.com/ReVanced/revanced-patches/compare/v5.46.0-dev.9...v5.46.0-dev.10) (2025-11-09)
2+
3+
4+
### Features
5+
6+
* **YouTube - Hide layout components:** Add video description "Hide Featured content" and "Hide Subscribe button" ([#6253](https://github.com/ReVanced/revanced-patches/issues/6253)) ([da4cf94](https://github.com/ReVanced/revanced-patches/commit/da4cf940911a4406e2c9dd558b60305385a80c61))
7+
8+
# [5.46.0-dev.9](https://github.com/ReVanced/revanced-patches/compare/v5.46.0-dev.8...v5.46.0-dev.9) (2025-11-09)
9+
10+
11+
### Features
12+
13+
* **YouTube Music:** Add `Change miniplayer color` patch ([#6259](https://github.com/ReVanced/revanced-patches/issues/6259)) ([ab808ae](https://github.com/ReVanced/revanced-patches/commit/ab808aeb773592cb26c848d8456478a346ec3bad))
14+
15+
# [5.46.0-dev.8](https://github.com/ReVanced/revanced-patches/compare/v5.46.0-dev.7...v5.46.0-dev.8) (2025-11-09)
16+
17+
18+
### Features
19+
20+
* **YouTube Music:** Add `Hide buttons` patch ([#6255](https://github.com/ReVanced/revanced-patches/issues/6255)) ([7a18ebc](https://github.com/ReVanced/revanced-patches/commit/7a18ebc7ab74ba30c5d5284a4856c55cdfc31097))
21+
22+
# [5.46.0-dev.7](https://github.com/ReVanced/revanced-patches/compare/v5.46.0-dev.6...v5.46.0-dev.7) (2025-11-08)
23+
24+
25+
### Bug Fixes
26+
27+
* **YouTube - Settings:** Add additional languages to ReVanced language preference ([d390b54](https://github.com/ReVanced/revanced-patches/commit/d390b54dab92d75b4e0d3e38344eae489dd69d98))
28+
29+
# [5.46.0-dev.6](https://github.com/ReVanced/revanced-patches/compare/v5.46.0-dev.5...v5.46.0-dev.6) (2025-11-08)
30+
31+
32+
### Features
33+
34+
* **YouTube - Debugging:** Add setting to block experimental client flags ([#6196](https://github.com/ReVanced/revanced-patches/issues/6196)) ([2e9d695](https://github.com/ReVanced/revanced-patches/commit/2e9d6959c94df7588b9e34b18770e9f437e91926))
35+
36+
# [5.46.0-dev.5](https://github.com/ReVanced/revanced-patches/compare/v5.46.0-dev.4...v5.46.0-dev.5) (2025-11-07)
37+
38+
39+
### Bug Fixes
40+
41+
* **Duolingo - Disable ads:** Constrain patch to last working app target ([f238ae9](https://github.com/ReVanced/revanced-patches/commit/f238ae9895000f01d1dccb800cc8efde0d5362bd))
42+
* **Instagram - Hide navigation buttons:** Constrain patch to last working app target ([e030e9c](https://github.com/ReVanced/revanced-patches/commit/e030e9c07a7748e117ac44f6776a9f6317b20623))
43+
* **Spotify - Hide Create button:** Remove obsolete patch that is no longer needed ([#6252](https://github.com/ReVanced/revanced-patches/issues/6252)) ([59d85b2](https://github.com/ReVanced/revanced-patches/commit/59d85b28a7fcb285ff5f2bb6ae654020d76b2019))
44+
45+
# [5.46.0-dev.4](https://github.com/ReVanced/revanced-patches/compare/v5.46.0-dev.3...v5.46.0-dev.4) (2025-11-07)
46+
47+
48+
### Bug Fixes
49+
50+
* **YouTube - Check watch history domain name resolution:** Fix false positive warning message if the internet connection fails halfway into the DNS check ([5726353](https://github.com/ReVanced/revanced-patches/commit/57263538c79f5a561c449229ac8e068c641285d3))
51+
52+
# [5.46.0-dev.3](https://github.com/ReVanced/revanced-patches/compare/v5.46.0-dev.2...v5.46.0-dev.3) (2025-11-06)
53+
54+
55+
### Bug Fixes
56+
57+
* **YouTube - Hide layout components:** Fix "Hide Hype points" ([#6247](https://github.com/ReVanced/revanced-patches/issues/6247)) ([5821440](https://github.com/ReVanced/revanced-patches/commit/582144026d28e57bb7adcbba39244f3c7cdbc0f3))
58+
59+
# [5.46.0-dev.2](https://github.com/ReVanced/revanced-patches/compare/v5.46.0-dev.1...v5.46.0-dev.2) (2025-11-04)
60+
61+
62+
### Bug Fixes
63+
64+
* **YouTube - Settings:** Resolve settings search crash when searching for specific words ([#6231](https://github.com/ReVanced/revanced-patches/issues/6231)) ([76dcfae](https://github.com/ReVanced/revanced-patches/commit/76dcfaefd8679e45a70f265b0239436e60c055cf))
65+
66+
# [5.46.0-dev.1](https://github.com/ReVanced/revanced-patches/compare/v5.45.0...v5.46.0-dev.1) (2025-11-04)
67+
68+
69+
### Features
70+
71+
* **YouTube - Hide layout components:** Add "Hide Hype points" ([#6230](https://github.com/ReVanced/revanced-patches/issues/6230)) ([a52c015](https://github.com/ReVanced/revanced-patches/commit/a52c0153b12c3f6f0ad260e03d2e9850c0466392))
72+
* **YouTube - Hide player flyout menu items:** Add "Hide Listen with YouTube Music" ([#6232](https://github.com/ReVanced/revanced-patches/issues/6232)) ([858edbf](https://github.com/ReVanced/revanced-patches/commit/858edbf3e7f394fcc766d767c8dc54cf5ba24370))
73+
174
# [5.45.0](https://github.com/ReVanced/revanced-patches/compare/v5.44.0...v5.45.0) (2025-11-01)
275

376

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package app.revanced.extension.music.patches;
2+
3+
import app.revanced.extension.music.settings.Settings;
4+
5+
@SuppressWarnings("unused")
6+
public class ChangeMiniplayerColorPatch {
7+
8+
/**
9+
* Injection point
10+
*/
11+
public static boolean changeMiniplayerColor() {
12+
return Settings.CHANGE_MINIPLAYER_COLOR.get();
13+
}
14+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
package app.revanced.extension.music.patches;
2+
3+
import static app.revanced.extension.shared.Utils.hideViewBy0dpUnderCondition;
4+
5+
import android.view.View;
6+
import android.view.ViewGroup;
7+
8+
import app.revanced.extension.music.settings.Settings;
9+
10+
@SuppressWarnings("unused")
11+
public class HideButtonsPatch {
12+
13+
/**
14+
* Injection point
15+
*/
16+
public static int hideCastButton(int original) {
17+
return Settings.HIDE_CAST_BUTTON.get() ? View.GONE : original;
18+
}
19+
20+
/**
21+
* Injection point
22+
*/
23+
public static void hideCastButton(View view) {
24+
hideViewBy0dpUnderCondition(Settings.HIDE_CAST_BUTTON, view);
25+
}
26+
27+
/**
28+
* Injection point
29+
*/
30+
public static boolean hideHistoryButton(boolean original) {
31+
return original && !Settings.HIDE_HISTORY_BUTTON.get();
32+
}
33+
34+
/**
35+
* Injection point
36+
*/
37+
public static void hideNotificationButton(View view) {
38+
if (view.getParent() instanceof ViewGroup viewGroup) {
39+
hideViewBy0dpUnderCondition(Settings.HIDE_NOTIFICATION_BUTTON, viewGroup);
40+
}
41+
}
42+
43+
/**
44+
* Injection point
45+
*/
46+
public static void hideSearchButton(View view) {
47+
hideViewBy0dpUnderCondition(Settings.HIDE_SEARCH_BUTTON, view);
48+
}
49+
}

extensions/music/src/main/java/app/revanced/extension/music/patches/HideCastButtonPatch.java

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

extensions/music/src/main/java/app/revanced/extension/music/patches/HideCategoryBarPatch.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import static app.revanced.extension.shared.Utils.hideViewBy0dpUnderCondition;
44

55
import android.view.View;
6+
67
import app.revanced.extension.music.settings.Settings;
78

89
@SuppressWarnings("unused")

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ public class Settings extends BaseSettings {
1616
public static final BooleanSetting HIDE_GET_PREMIUM_LABEL = new BooleanSetting("revanced_music_hide_get_premium_label", TRUE, true);
1717

1818
// General
19-
public static final BooleanSetting HIDE_CAST_BUTTON = new BooleanSetting("revanced_music_hide_cast_button", TRUE, false);
19+
public static final BooleanSetting HIDE_CAST_BUTTON = new BooleanSetting("revanced_music_hide_cast_button", TRUE, true);
2020
public static final BooleanSetting HIDE_CATEGORY_BAR = new BooleanSetting("revanced_music_hide_category_bar", FALSE, true);
21+
public static final BooleanSetting HIDE_HISTORY_BUTTON = new BooleanSetting("revanced_music_hide_history_button", FALSE, true);
22+
public static final BooleanSetting HIDE_SEARCH_BUTTON = new BooleanSetting("revanced_music_hide_search_button", FALSE, true);
23+
public static final BooleanSetting HIDE_NOTIFICATION_BUTTON = new BooleanSetting("revanced_music_hide_notification_button", FALSE, true);
2124
public static final BooleanSetting HIDE_NAVIGATION_BAR_HOME_BUTTON = new BooleanSetting("revanced_music_hide_navigation_bar_home_button", FALSE, true);
2225
public static final BooleanSetting HIDE_NAVIGATION_BAR_SAMPLES_BUTTON = new BooleanSetting("revanced_music_hide_navigation_bar_samples_button", FALSE, true);
2326
public static final BooleanSetting HIDE_NAVIGATION_BAR_EXPLORE_BUTTON = new BooleanSetting("revanced_music_hide_navigation_bar_explore_button", FALSE, true);
@@ -27,6 +30,7 @@ public class Settings extends BaseSettings {
2730
public static final BooleanSetting HIDE_NAVIGATION_BAR_LABEL = new BooleanSetting("revanced_music_hide_navigation_bar_labels", FALSE, true);
2831

2932
// Player
33+
public static final BooleanSetting CHANGE_MINIPLAYER_COLOR = new BooleanSetting("revanced_music_change_miniplayer_color", FALSE, true);
3034
public static final BooleanSetting PERMANENT_REPEAT = new BooleanSetting("revanced_music_play_permanent_repeat", FALSE, true);
3135

3236
// Miscellaneous

extensions/primevideo/src/main/java/app/revanced/extension/primevideo/videoplayer/PlaybackSpeedPatch.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
import app.revanced.extension.shared.Logger;
1818
import app.revanced.extension.shared.Utils;
19+
import app.revanced.extension.shared.ui.Dim;
1920

2021
import com.amazon.video.sdk.player.Player;
2122

@@ -64,9 +65,8 @@ private static ImageView createSpeedButton(Context context) {
6465
SpeedIconDrawable speedIcon = new SpeedIconDrawable();
6566
speedButton.setImageDrawable(speedIcon);
6667

67-
int buttonSize = Utils.dipToPixels(48);
68-
speedButton.setMinimumWidth(buttonSize);
69-
speedButton.setMinimumHeight(buttonSize);
68+
speedButton.setMinimumWidth(Dim.dp48);
69+
speedButton.setMinimumHeight(Dim.dp48);
7070

7171
return speedButton;
7272
}
@@ -197,11 +197,11 @@ public int getOpacity() {
197197

198198
@Override
199199
public int getIntrinsicWidth() {
200-
return Utils.dipToPixels(32);
200+
return Dim.dp32;
201201
}
202202

203203
@Override
204204
public int getIntrinsicHeight() {
205-
return Utils.dipToPixels(32);
205+
return Dim.dp32;
206206
}
207-
}
207+
}

0 commit comments

Comments
 (0)