From e9a98afae90c514f59eeb341dd8d7eacae3fe7bd Mon Sep 17 00:00:00 2001 From: gdlbo <41114720+gdlbo@users.noreply.github.com> Date: Tue, 7 Feb 2023 01:35:36 +0300 Subject: [PATCH] Update ThemesCore.java --- app/src/main/java/ru/vtosters/lite/themes/ThemesCore.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/ru/vtosters/lite/themes/ThemesCore.java b/app/src/main/java/ru/vtosters/lite/themes/ThemesCore.java index 9fd0f3dba..5b625aa35 100644 --- a/app/src/main/java/ru/vtosters/lite/themes/ThemesCore.java +++ b/app/src/main/java/ru/vtosters/lite/themes/ThemesCore.java @@ -128,7 +128,7 @@ public class ThemesCore { darken_color = ThemesUtils.darken(accentColor, 0.15f); themedColors.put(R.attr.newsfeed_post_title_color, darken_color); - themedColors.put(R.attr.text_link, darken_color); + themedColors.put(R.attr.text_link, accentColor); themedColors.put(R.attr.attach_picker_tab_active_background, accentColor); themedColors.put(R.attr.attach_picker_tab_active_text, accentColor); @@ -157,7 +157,7 @@ public class ThemesCore { return switch (attr) { case R.attr.im_bubble_wallpaper_outgoing, R.attr.im_bubble_outgoing -> outgoinging_msg; case R.attr.im_bubble_outgoing_highlighted -> outgoinging_msg_highlight; - case R.attr.newsfeed_post_title_color, R.attr.text_link -> darken_color; + case R.attr.newsfeed_post_title_color -> darken_color; default -> themedColors.get(attr); }; } @@ -193,4 +193,4 @@ public class ThemesCore { public static boolean isCachedAccents() { return cachedAccents; } -} \ No newline at end of file +}