fixed some coloring
This commit is contained in:
@@ -51,6 +51,7 @@ public class ThemesCore {
|
||||
ACCENT_THEME_ONLY_NOMILK_LIGHT.put(com.vtosters.lite.R.attr.header_background, false);
|
||||
|
||||
ACCENT_THEME_ONLY_MILK_LIGHT.put(com.vtosters.lite.R.attr.header_tint, false);
|
||||
ACCENT_THEME_ONLY_MILK_LIGHT.put(com.vtosters.lite.R.attr.icon_name, false);
|
||||
ACCENT_THEME_ONLY_MILK_LIGHT.put(com.vtosters.lite.R.attr.header_tint_alternate, false);
|
||||
ACCENT_THEME_ONLY_MILK_LIGHT.put(com.vtosters.lite.R.attr.toolbarIconsColor, false);
|
||||
ACCENT_THEME_ONLY_MILK_LIGHT.put(com.vtosters.lite.R.attr.header_tab_active_indicator, false);
|
||||
@@ -73,6 +74,7 @@ public class ThemesCore {
|
||||
themedColors.put(com.vtosters.lite.R.attr.text_link, accentColor);
|
||||
themedColors.put(com.vtosters.lite.R.attr.accent, accentColor);
|
||||
themedColors.put(com.vtosters.lite.R.attr.newsfeed_dropdown_color, accentColor);
|
||||
themedColors.put(com.vtosters.lite.R.attr.icon_name, accentColor);
|
||||
|
||||
themedColors.put(com.vtosters.lite.R.attr.vk_accent, accentColor);
|
||||
themedColors.put(com.vtosters.lite.R.attr.accentColor, accentColor);
|
||||
|
||||
@@ -98,7 +98,7 @@ public class ThemesUtils {
|
||||
}
|
||||
|
||||
public static int getMutedAccentColor(int color) {
|
||||
return isDarkTheme() ? darken(color, 0.66f) : lighten(color, 0.66f);
|
||||
return halfAlpha(color);
|
||||
}
|
||||
|
||||
public static void setCustomAccentColor(int newColor, boolean async) {
|
||||
|
||||
@@ -216,6 +216,10 @@
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-static {v4}, Lru/vtosters/lite/utils/ThemesUtils;->recolorDrawable(Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
.line 17
|
||||
|
||||
Reference in New Issue
Block a user