From 7c8bde7e993a614c904200b73802017de3e12fb3 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Wed, 3 Nov 2021 22:19:22 +0800 Subject: Tweak Material You amoled theme on Android 12. --- .../ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') 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(); -- cgit v1.2.3