From b20fdee8da1527f69933135804dd98c83e2393f2 Mon Sep 17 00:00:00 2001 From: aliveoutside <53598473+aliveoutside@users.noreply.github.com> Date: Sun, 28 Aug 2022 18:30:49 +0300 Subject: [PATCH] and some more junk code removed --- .../java/ru/vtosters/lite/res/VTLColors.java | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/app/src/main/java/ru/vtosters/lite/res/VTLColors.java b/app/src/main/java/ru/vtosters/lite/res/VTLColors.java index 63af37605..d5ff9f106 100644 --- a/app/src/main/java/ru/vtosters/lite/res/VTLColors.java +++ b/app/src/main/java/ru/vtosters/lite/res/VTLColors.java @@ -44,27 +44,19 @@ public class VTLColors { } public static int getBackgroundContent() { - return isCustomThemeApplied() - ? getColor(R.attr.background_content) - : getColorFromAttr(R.attr.background_content); + return getColor(R.attr.background_content); } public static int getBackgroundPage() { - return isCustomThemeApplied() - ? getColor(R.attr.background_page) - : getColorFromAttr(R.attr.background_page); + return getColor(R.attr.background_page); } public static int getHeaderBackground() { - return isCustomThemeApplied() - ? getColor(R.attr.header_background) - : getColorFromAttr(R.attr.header_background); + return getColor(R.attr.header_background); } public static int getHeaderText() { - return isCustomThemeApplied() - ? getColor(R.attr.header_text) - : getColorFromAttr(R.attr.header_text); + return getColor(R.attr.header_text); } //region Hooks