fix(YouTube - Player components): Speed overlay value only works when set to 1.0 or higher https://github.com/inotia00/ReVanced_Extended/issues/2849

This commit is contained in:
inotia00
2025-03-24 21:23:46 +09:00
parent fd32e4a854
commit 529e0163cc
4 changed files with 81 additions and 16 deletions

View File

@ -518,6 +518,12 @@ public class PlayerPatch {
return SPEED_OVERLAY_VALUE;
}
public static float speedOverlayRelativeValue(float original) {
return SPEED_OVERLAY_VALUE != 2.0f
? 0f
: original;
}
public static boolean hideChannelWatermark(boolean original) {
return !Settings.HIDE_CHANNEL_WATERMARK.get() && original;
}