Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
a52c015
feat(YouTube - Hide layout components): Add "Hide Hype points" (#6230)
ILoveOpenSourceApplications Nov 4, 2025
858edbf
feat(YouTube - Hide player flyout menu items): Add "Hide Listen with …
ILoveOpenSourceApplications Nov 4, 2025
1196b1a
chore: Release v5.46.0-dev.1 [skip ci]
semantic-release-bot Nov 4, 2025
e4f5234
chore: Sync translations (#6239)
github-actions[bot] Nov 4, 2025
76dcfae
fix(YouTube - Settings): Resolve settings search crash when searching…
MarcaDian Nov 4, 2025
6c4b931
chore: Release v5.46.0-dev.2 [skip ci]
semantic-release-bot Nov 4, 2025
d80892c
chore: Sync translations (#6248)
github-actions[bot] Nov 6, 2025
5821440
fix(YouTube - Hide layout components): Fix "Hide Hype points" (#6247)
ILoveOpenSourceApplications Nov 6, 2025
70f4955
chore: Release v5.46.0-dev.3 [skip ci]
semantic-release-bot Nov 6, 2025
5726353
fix(YouTube - Check watch history domain name resolution): Fix false …
LisoUseInAIKyrios Nov 7, 2025
ce503d5
chore: Release v5.46.0-dev.4 [skip ci]
semantic-release-bot Nov 7, 2025
0cad5e7
chore(deps): Bump actions/setup-node from 5 to 6 (#6200)
dependabot[bot] Nov 7, 2025
55e1a67
chore(deps-dev): Bump semantic-release from 24.2.9 to 25.0.1 (#6204)
dependabot[bot] Nov 7, 2025
5029e97
chore(deps): Bump actions/upload-artifact from 4 to 5 (#6201)
dependabot[bot] Nov 7, 2025
e030e9c
fix(Instagram - Hide navigation buttons): Constrain patch to last wor…
LisoUseInAIKyrios Nov 7, 2025
f238ae9
fix(Duolingo - Disable ads): Constrain patch to last working app target
LisoUseInAIKyrios Nov 7, 2025
59d85b2
fix(Spotify - Hide Create button): Remove obsolete patch that is no l…
LisoUseInAIKyrios Nov 7, 2025
f1bd684
chore(deps-dev): Revert bump semantic-release from 24.2.9 to 25.0.1 (…
LisoUseInAIKyrios Nov 7, 2025
81f8369
chore: Release v5.46.0-dev.5 [skip ci]
semantic-release-bot Nov 7, 2025
2e9d695
feat(YouTube - Debugging): Add setting to block experimental client f…
MarcaDian Nov 8, 2025
f177eae
chore: Release v5.46.0-dev.6 [skip ci]
semantic-release-bot Nov 8, 2025
c6364f5
chore: Fix compilation warning
LisoUseInAIKyrios Nov 8, 2025
4d1eaa6
chore: Sync translations (#6260)
github-actions[bot] Nov 8, 2025
d390b54
fix(YouTube - Settings): Add additional languages to ReVanced languag…
LisoUseInAIKyrios Nov 8, 2025
475197a
chore: Release v5.46.0-dev.7 [skip ci]
semantic-release-bot Nov 8, 2025
7a18ebc
feat(YouTube Music): Add `Hide buttons` patch (#6255)
MarcaDian Nov 9, 2025
d291881
chore: Release v5.46.0-dev.8 [skip ci]
semantic-release-bot Nov 9, 2025
a6b07cc
chore: Sync translations (#6266)
github-actions[bot] Nov 9, 2025
ab808ae
feat(YouTube Music): Add `Change miniplayer color` patch (#6259)
MarcaDian Nov 9, 2025
34d29ab
chore: Release v5.46.0-dev.9 [skip ci]
semantic-release-bot Nov 9, 2025
d23fa5e
chore: Sync translations (#6270)
github-actions[bot] Nov 9, 2025
da4cf94
feat(YouTube - Hide layout components): Add video description "Hide F…
ILoveOpenSourceApplications Nov 9, 2025
1d8e977
chore: Release v5.46.0-dev.10 [skip ci]
semantic-release-bot Nov 9, 2025
a39ef1e
refactor(YouTube Music - Custom branding): Resolve startup app crash …
LisoUseInAIKyrios Nov 10, 2025
d64dfc2
chore: Sync translations (#6276)
github-actions[bot] Nov 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: ./gradlew :patches:buildAndroid --no-daemon

- name: Upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: revanced-patches
path: patches/build/libs
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: ./gradlew :patches:buildAndroid clean

- name: Setup Node.js
uses: actions/setup-node@v5
uses: actions/setup-node@v6
with:
node-version: 'lts/*'
cache: 'npm'
Expand Down
73 changes: 73 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,76 @@
# [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)


### Features

* **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))

# [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)


### Features

* **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))

# [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)


### Features

* **YouTube Music:** Add `Hide buttons` patch ([#6255](https://github.com/ReVanced/revanced-patches/issues/6255)) ([7a18ebc](https://github.com/ReVanced/revanced-patches/commit/7a18ebc7ab74ba30c5d5284a4856c55cdfc31097))

# [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)


### Bug Fixes

* **YouTube - Settings:** Add additional languages to ReVanced language preference ([d390b54](https://github.com/ReVanced/revanced-patches/commit/d390b54dab92d75b4e0d3e38344eae489dd69d98))

# [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)


### Features

* **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))

# [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)


### Bug Fixes

* **Duolingo - Disable ads:** Constrain patch to last working app target ([f238ae9](https://github.com/ReVanced/revanced-patches/commit/f238ae9895000f01d1dccb800cc8efde0d5362bd))
* **Instagram - Hide navigation buttons:** Constrain patch to last working app target ([e030e9c](https://github.com/ReVanced/revanced-patches/commit/e030e9c07a7748e117ac44f6776a9f6317b20623))
* **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))

# [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)


### Bug Fixes

* **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))

# [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)


### Bug Fixes

* **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))

# [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)


### Bug Fixes

* **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))

# [5.46.0-dev.1](https://github.com/ReVanced/revanced-patches/compare/v5.45.0...v5.46.0-dev.1) (2025-11-04)


### Features

* **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))
* **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))

# [5.45.0](https://github.com/ReVanced/revanced-patches/compare/v5.44.0...v5.45.0) (2025-11-01)


Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package app.revanced.extension.music.patches;

import app.revanced.extension.music.settings.Settings;

@SuppressWarnings("unused")
public class ChangeMiniplayerColorPatch {

/**
* Injection point
*/
public static boolean changeMiniplayerColor() {
return Settings.CHANGE_MINIPLAYER_COLOR.get();
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
package app.revanced.extension.music.patches;

import static app.revanced.extension.shared.Utils.hideViewBy0dpUnderCondition;

import android.view.View;
import android.view.ViewGroup;

import app.revanced.extension.music.settings.Settings;

@SuppressWarnings("unused")
public class HideButtonsPatch {

/**
* Injection point
*/
public static int hideCastButton(int original) {
return Settings.HIDE_CAST_BUTTON.get() ? View.GONE : original;
}

/**
* Injection point
*/
public static void hideCastButton(View view) {
hideViewBy0dpUnderCondition(Settings.HIDE_CAST_BUTTON, view);
}

/**
* Injection point
*/
public static boolean hideHistoryButton(boolean original) {
return original && !Settings.HIDE_HISTORY_BUTTON.get();
}

/**
* Injection point
*/
public static void hideNotificationButton(View view) {
if (view.getParent() instanceof ViewGroup viewGroup) {
hideViewBy0dpUnderCondition(Settings.HIDE_NOTIFICATION_BUTTON, viewGroup);
}
}

/**
* Injection point
*/
public static void hideSearchButton(View view) {
hideViewBy0dpUnderCondition(Settings.HIDE_SEARCH_BUTTON, view);
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import static app.revanced.extension.shared.Utils.hideViewBy0dpUnderCondition;

import android.view.View;

import app.revanced.extension.music.settings.Settings;

@SuppressWarnings("unused")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ public class Settings extends BaseSettings {
public static final BooleanSetting HIDE_GET_PREMIUM_LABEL = new BooleanSetting("revanced_music_hide_get_premium_label", TRUE, true);

// General
public static final BooleanSetting HIDE_CAST_BUTTON = new BooleanSetting("revanced_music_hide_cast_button", TRUE, false);
public static final BooleanSetting HIDE_CAST_BUTTON = new BooleanSetting("revanced_music_hide_cast_button", TRUE, true);
public static final BooleanSetting HIDE_CATEGORY_BAR = new BooleanSetting("revanced_music_hide_category_bar", FALSE, true);
public static final BooleanSetting HIDE_HISTORY_BUTTON = new BooleanSetting("revanced_music_hide_history_button", FALSE, true);
public static final BooleanSetting HIDE_SEARCH_BUTTON = new BooleanSetting("revanced_music_hide_search_button", FALSE, true);
public static final BooleanSetting HIDE_NOTIFICATION_BUTTON = new BooleanSetting("revanced_music_hide_notification_button", FALSE, true);
public static final BooleanSetting HIDE_NAVIGATION_BAR_HOME_BUTTON = new BooleanSetting("revanced_music_hide_navigation_bar_home_button", FALSE, true);
public static final BooleanSetting HIDE_NAVIGATION_BAR_SAMPLES_BUTTON = new BooleanSetting("revanced_music_hide_navigation_bar_samples_button", FALSE, true);
public static final BooleanSetting HIDE_NAVIGATION_BAR_EXPLORE_BUTTON = new BooleanSetting("revanced_music_hide_navigation_bar_explore_button", FALSE, true);
Expand All @@ -27,6 +30,7 @@ public class Settings extends BaseSettings {
public static final BooleanSetting HIDE_NAVIGATION_BAR_LABEL = new BooleanSetting("revanced_music_hide_navigation_bar_labels", FALSE, true);

// Player
public static final BooleanSetting CHANGE_MINIPLAYER_COLOR = new BooleanSetting("revanced_music_change_miniplayer_color", FALSE, true);
public static final BooleanSetting PERMANENT_REPEAT = new BooleanSetting("revanced_music_play_permanent_repeat", FALSE, true);

// Miscellaneous
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

import app.revanced.extension.shared.Logger;
import app.revanced.extension.shared.Utils;
import app.revanced.extension.shared.ui.Dim;

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

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

int buttonSize = Utils.dipToPixels(48);
speedButton.setMinimumWidth(buttonSize);
speedButton.setMinimumHeight(buttonSize);
speedButton.setMinimumWidth(Dim.dp48);
speedButton.setMinimumHeight(Dim.dp48);

return speedButton;
}
Expand Down Expand Up @@ -197,11 +197,11 @@ public int getOpacity() {

@Override
public int getIntrinsicWidth() {
return Utils.dipToPixels(32);
return Dim.dp32;
}

@Override
public int getIntrinsicHeight() {
return Utils.dipToPixels(32);
return Dim.dp32;
}
}
}
Loading
Loading