aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-11-03 14:19:22 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-11-03 14:19:22 +0000
commit7c8bde7e993a614c904200b73802017de3e12fb3 (patch)
tree2e91bcf3cd1b56a0bcadb7963165936223de7f3a /app/src/main/java
parentc2e9ef62e74f8384997e5ee2c21bf39460c421b6 (diff)
downloadinfinity-for-reddit-7c8bde7e993a614c904200b73802017de3e12fb3.tar
infinity-for-reddit-7c8bde7e993a614c904200b73802017de3e12fb3.tar.gz
infinity-for-reddit-7c8bde7e993a614c904200b73802017de3e12fb3.tar.bz2
infinity-for-reddit-7c8bde7e993a614c904200b73802017de3e12fb3.tar.lz
infinity-for-reddit-7c8bde7e993a614c904200b73802017de3e12fb3.tar.xz
infinity-for-reddit-7c8bde7e993a614c904200b73802017de3e12fb3.tar.zst
infinity-for-reddit-7c8bde7e993a614c904200b73802017de3e12fb3.zip
Tweak Material You amoled theme on Android 12.
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java4
1 files changed, 2 insertions, 2 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 53208622..2a1912fa 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java
@@ -107,12 +107,12 @@ public class MaterialYouUtils {
darkTheme.tabLayoutWithExpandedCollapsingToolbarTextColor = darkTheme.bottomAppBarIconColor;
darkTheme.circularProgressBarBackground = context.getColor(android.R.color.system_accent1_900);
darkTheme.dividerColor = context.getColor(android.R.color.system_neutral1_600);
- darkTheme.isLightStatusBar = false;
darkTheme.isChangeStatusBarIconColorAfterToolbarCollapsedInImmersiveInterface = true;
darkTheme.name = "Material You Dark";
amoledTheme.colorAccent = context.getColor(android.R.color.system_accent1_100);
- amoledTheme.colorPrimaryLightTheme = context.getColor(android.R.color.system_accent3_100);
+ amoledTheme.colorPrimaryLightTheme = context.getColor(android.R.color.system_accent1_300);
+ amoledTheme.fabIconColor = context.getColor(android.R.color.system_neutral1_900);
amoledTheme.name = "Material You Amoled";
redditDataRoomDatabase.customThemeDao().unsetLightTheme();