diff --git a/app/src/main/java/app/revanced/integrations/youtube/patches/theme/SeekbarColorPatch.java b/app/src/main/java/app/revanced/integrations/youtube/patches/theme/SeekbarColorPatch.java index 2e97a27d86..261af188e8 100644 --- a/app/src/main/java/app/revanced/integrations/youtube/patches/theme/SeekbarColorPatch.java +++ b/app/src/main/java/app/revanced/integrations/youtube/patches/theme/SeekbarColorPatch.java @@ -104,12 +104,14 @@ public static int getLithoColor(int colorValue) { * Injection point. */ public static void setLinearGradient(int[] colors, float[] positions) { - if (SEEKBAR_CUSTOM_COLOR_ENABLED) { + final boolean hideSeekbar = Settings.HIDE_SEEKBAR_THUMBNAIL.get(); + + if (SEEKBAR_CUSTOM_COLOR_ENABLED || hideSeekbar) { // Most litho usage of linear gradients is hooked here, // so must only change if the values are those for the seekbar. if (Arrays.equals(ORIGINAL_SEEKBAR_GRADIENT_COLORS, colors) && Arrays.equals(ORIGINAL_SEEKBAR_GRADIENT_POSITIONS, positions)) { - Arrays.fill(colors, Settings.HIDE_SEEKBAR_THUMBNAIL.get() + Arrays.fill(colors, hideSeekbar ? 0x00000000 : seekbarColor); return;