From 79d32871432090af44a606a955f89637ccc965b4 Mon Sep 17 00:00:00 2001 From: gdlbo <41114720+gdlbo@users.noreply.github.com> Date: Wed, 28 Dec 2022 21:56:34 +0300 Subject: [PATCH] fixed #969 again for muted accent --- app/src/main/java/ru/vtosters/lite/utils/ThemesUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/ru/vtosters/lite/utils/ThemesUtils.java b/app/src/main/java/ru/vtosters/lite/utils/ThemesUtils.java index bb81b99cd..b03ffd103 100644 --- a/app/src/main/java/ru/vtosters/lite/utils/ThemesUtils.java +++ b/app/src/main/java/ru/vtosters/lite/utils/ThemesUtils.java @@ -194,7 +194,7 @@ public class ThemesUtils { } public static int getMutedColor(int color) { - return ColorUtils.blendARGB(color, (isDarkTheme() ? Color.BLACK : Color.WHITE), (isMilkshake() ? 0.5f : 0.32f)); + return ColorUtils.blendARGB(color, (isDarkTheme() ? Color.BLACK : Color.WHITE), (isMilkshake() ? 0.5f : isDarkTheme() ? 0.32f : 0.2f)); } public static void setCustomAccentColor(int newColor, boolean async) {