diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-07-17 02:39:24 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-07-17 02:39:24 +0000 |
commit | a31090e3246490048bcffaad72933f5b1544063a (patch) | |
tree | 97907b6211125244a1386dfc5ac9cd61a6cacd88 /app/src/main/java/ml | |
parent | cf63ccaad1e8176b78c65c7857704ef765a68b51 (diff) | |
download | infinity-for-reddit-a31090e3246490048bcffaad72933f5b1544063a.tar infinity-for-reddit-a31090e3246490048bcffaad72933f5b1544063a.tar.gz infinity-for-reddit-a31090e3246490048bcffaad72933f5b1544063a.tar.bz2 infinity-for-reddit-a31090e3246490048bcffaad72933f5b1544063a.tar.lz infinity-for-reddit-a31090e3246490048bcffaad72933f5b1544063a.tar.xz infinity-for-reddit-a31090e3246490048bcffaad72933f5b1544063a.tar.zst infinity-for-reddit-a31090e3246490048bcffaad72933f5b1544063a.zip |
Set secondary text color in Material You.
Diffstat (limited to 'app/src/main/java/ml')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java | 1 |
1 files changed, 1 insertions, 0 deletions
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 520719b9..2de4d7ed 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java @@ -76,6 +76,7 @@ public class MaterialYouUtils { lightTheme.bottomAppBarBackgroundColor = colorPrimaryInt; lightTheme.navBarColor = colorPrimaryInt; lightTheme.primaryTextColor = backgroundColorAppropriateTextColor; + lightTheme.secondaryTextColor = backgroundColorAppropriateTextColor == Color.BLACK ? Color.parseColor("#8A000000") : Color.parseColor("#B3FFFFFF"); lightTheme.bottomAppBarIconColor = colorPrimaryAppropriateTextColor; lightTheme.primaryIconColor = backgroundColorAppropriateTextColor; lightTheme.fabIconColor = colorPrimaryAppropriateTextColor; |