aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-07-17 02:44:23 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-07-17 02:44:23 +0000
commit170cdb5aaf4bed936f0b82d84fb6f0ebff0e4b6d (patch)
tree2fa3107ee446ac57b4ad17530e106f07fc5e8b93 /app
parenta31090e3246490048bcffaad72933f5b1544063a (diff)
downloadinfinity-for-reddit-170cdb5aaf4bed936f0b82d84fb6f0ebff0e4b6d.tar
infinity-for-reddit-170cdb5aaf4bed936f0b82d84fb6f0ebff0e4b6d.tar.gz
infinity-for-reddit-170cdb5aaf4bed936f0b82d84fb6f0ebff0e4b6d.tar.bz2
infinity-for-reddit-170cdb5aaf4bed936f0b82d84fb6f0ebff0e4b6d.tar.lz
infinity-for-reddit-170cdb5aaf4bed936f0b82d84fb6f0ebff0e4b6d.tar.xz
infinity-for-reddit-170cdb5aaf4bed936f0b82d84fb6f0ebff0e4b6d.tar.zst
infinity-for-reddit-170cdb5aaf4bed936f0b82d84fb6f0ebff0e4b6d.zip
Set divider color in Material You.
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java1
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 2de4d7ed..2f798c1e 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java
@@ -89,6 +89,7 @@ public class MaterialYouUtils {
lightTheme.tabLayoutWithExpandedCollapsingToolbarTabIndicator = colorPrimaryAppropriateTextColor;
lightTheme.tabLayoutWithExpandedCollapsingToolbarTextColor = colorPrimaryAppropriateTextColor;
lightTheme.circularProgressBarBackground = colorPrimaryInt;
+ lightTheme.dividerColor = backgroundColorAppropriateTextColor == Color.BLACK ? Color.parseColor("#E0E0E0") : Color.parseColor("69666C");
lightTheme.isLightStatusBar = colorPrimaryAppropriateTextColor == Color.BLACK;
lightTheme.isChangeStatusBarIconColorAfterToolbarCollapsedInImmersiveInterface =
(lightTheme.isLightStatusBar && getAppropriateTextColor(cardViewBackgroundColor) == Color.WHITE)