fixed fix separator

dead fix xd
This commit is contained in:
gdlbo
2022-12-24 13:53:53 +03:00
parent 81b214bcff
commit 02de3699cc
@@ -314,7 +314,7 @@ public class ThemesUtils {
}
public static int fixSeparator(float f) {
if (f == 8.0f && isMonetTheme()) {
if (isMonetTheme()) {
return 0;
} else {
return (int) Math.floor(f * Resources.getSystem().getDisplayMetrics().density);
@@ -328,13 +328,6 @@ public class ThemesUtils {
return Color.argb(Color.alpha(color), red, green, blue);
}
public static int fixTextColor(int resid) {
if (resid == R.color.music_action_button_gray || resid == R.color.cool_grey || resid == R.color.accent_blue) {
return isDarkTheme() ? R.color.white : R.color.cool_grey;
}
return resid;
}
public static int halfAlpha(int src) {
return ColorUtils.setAlphaComponent(src, 169);
}