From 578a27dea546f572c3fd270d001fd6024f59dd1a Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Wed, 15 May 2024 22:08:02 +0400 Subject: [PATCH] fix(YouTube - Restore old video quality menu): Do not make click sounds when opening Shorts quality menu --- .../playback/quality/RestoreOldVideoQualityMenuPatch.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/app/revanced/integrations/youtube/patches/playback/quality/RestoreOldVideoQualityMenuPatch.java b/app/src/main/java/app/revanced/integrations/youtube/patches/playback/quality/RestoreOldVideoQualityMenuPatch.java index e4761ce1b7..7d6f24eecc 100644 --- a/app/src/main/java/app/revanced/integrations/youtube/patches/playback/quality/RestoreOldVideoQualityMenuPatch.java +++ b/app/src/main/java/app/revanced/integrations/youtube/patches/playback/quality/RestoreOldVideoQualityMenuPatch.java @@ -71,6 +71,7 @@ public void onChildViewAdded(View parent, View child) { Logger.printDebug(() -> "Found advanced menu item in old type of quality menu"); + listView.setSoundEffectsEnabled(false); final var qualityItemMenuPosition = 4; listView.performItemClick(null, qualityItemMenuPosition, 0);