From a4c159f9d9369fb1419402b088eb777a93eb20ec Mon Sep 17 00:00:00 2001 From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> Date: Wed, 4 Oct 2023 12:50:39 -0400 Subject: Set filled card view background color in MaterialYouUtils. --- .../ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/src/main/java') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java b/app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java index 010a8033..08bb0fb0 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java @@ -93,6 +93,7 @@ public class MaterialYouUtils { lightTheme.colorPrimaryLightTheme = lightTheme.colorPrimary; lightTheme.backgroundColor = context.getColor(android.R.color.system_neutral1_50); lightTheme.cardViewBackgroundColor = context.getColor(android.R.color.system_neutral2_10); + lightTheme.filledCardViewBackgroundColor = lightTheme.cardViewBackgroundColor; lightTheme.commentBackgroundColor = context.getColor(android.R.color.system_neutral2_10); lightTheme.awardedCommentBackgroundColor = context.getColor(android.R.color.system_neutral2_10); lightTheme.bottomAppBarBackgroundColor = lightTheme.colorPrimary; @@ -123,6 +124,7 @@ public class MaterialYouUtils { darkTheme.colorPrimaryLightTheme = lightTheme.colorPrimary; darkTheme.backgroundColor = context.getColor(android.R.color.system_neutral1_900); darkTheme.cardViewBackgroundColor = context.getColor(android.R.color.system_neutral2_800); + darkTheme.filledCardViewBackgroundColor = darkTheme.cardViewBackgroundColor; darkTheme.commentBackgroundColor = darkTheme.cardViewBackgroundColor; darkTheme.awardedCommentBackgroundColor = darkTheme.cardViewBackgroundColor; darkTheme.bottomAppBarBackgroundColor = darkTheme.colorPrimary; @@ -189,6 +191,7 @@ public class MaterialYouUtils { lightTheme.colorPrimaryLightTheme = colorPrimaryInt; lightTheme.backgroundColor = backgroundColor; lightTheme.cardViewBackgroundColor = cardViewBackgroundColor; + lightTheme.filledCardViewBackgroundColor = cardViewBackgroundColor; lightTheme.commentBackgroundColor = cardViewBackgroundColor; lightTheme.awardedCommentBackgroundColor = cardViewBackgroundColor; lightTheme.bottomAppBarBackgroundColor = colorPrimaryInt; -- cgit v1.2.3