From 8a3ee7931db445d225e2da9d3b15f8e36f9f3f08 Mon Sep 17 00:00:00 2001 From: Generator Date: Tue, 15 Aug 2023 14:19:51 +0100 Subject: [PATCH] fix #110 default colors --- .../infinityforlemmy/customtheme/CustomThemeWrapper.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/eu/toldi/infinityforlemmy/customtheme/CustomThemeWrapper.java b/app/src/main/java/eu/toldi/infinityforlemmy/customtheme/CustomThemeWrapper.java index 4fb79514..514c514b 100644 --- a/app/src/main/java/eu/toldi/infinityforlemmy/customtheme/CustomThemeWrapper.java +++ b/app/src/main/java/eu/toldi/infinityforlemmy/customtheme/CustomThemeWrapper.java @@ -79,7 +79,7 @@ public class CustomThemeWrapper { public int getSecondaryTextColor() { return getThemeSharedPreferences().getInt(CustomThemeSharedPreferencesUtils.SECONDARY_TEXT_COLOR, - getDefaultColor("#8A0000", "#B3FFFF", "#B3FFFF")); + getDefaultColor("#8A000000", "#B3FFFFFF", "#B3FFFFFF")); } public int getPostTitleColor() { @@ -89,7 +89,7 @@ public class CustomThemeWrapper { public int getPostContentColor() { return getThemeSharedPreferences().getInt(CustomThemeSharedPreferencesUtils.POST_CONTENT_COLOR, - getDefaultColor("#8A0000", "#B3FFFF", "#B3FFFF")); + getDefaultColor("#8A000000", "#B3FFFFFF", "#B3FFFFFF")); } public int getReadPostTitleColor() { @@ -149,12 +149,12 @@ public class CustomThemeWrapper { public int getPostIconAndInfoColor() { return getThemeSharedPreferences().getInt(CustomThemeSharedPreferencesUtils.POST_ICON_AND_INFO_COLOR, - getDefaultColor("#8A0000", "#FFFFFF", "#B3FFFF")); + getDefaultColor("#8A000000", "#B3FFFFFF", "#B3FFFFFF")); } public int getCommentIconAndInfoColor() { return getThemeSharedPreferences().getInt(CustomThemeSharedPreferencesUtils.COMMENT_ICON_AND_INFO_COLOR, - getDefaultColor("#8A0000", "#FFFFFF", "#B3FFFF")); + getDefaultColor("#8A000000", "#B3FFFFFF", "#B3FFFFFF")); } public int getToolbarPrimaryTextAndIconColor() {