mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-30 12:57:12 +01:00
Tweak Material You amoled theme on Android 12.
This commit is contained in:
parent
c2e9ef62e7
commit
7c8bde7e99
@ -107,12 +107,12 @@ public class MaterialYouUtils {
|
|||||||
darkTheme.tabLayoutWithExpandedCollapsingToolbarTextColor = darkTheme.bottomAppBarIconColor;
|
darkTheme.tabLayoutWithExpandedCollapsingToolbarTextColor = darkTheme.bottomAppBarIconColor;
|
||||||
darkTheme.circularProgressBarBackground = context.getColor(android.R.color.system_accent1_900);
|
darkTheme.circularProgressBarBackground = context.getColor(android.R.color.system_accent1_900);
|
||||||
darkTheme.dividerColor = context.getColor(android.R.color.system_neutral1_600);
|
darkTheme.dividerColor = context.getColor(android.R.color.system_neutral1_600);
|
||||||
darkTheme.isLightStatusBar = false;
|
|
||||||
darkTheme.isChangeStatusBarIconColorAfterToolbarCollapsedInImmersiveInterface = true;
|
darkTheme.isChangeStatusBarIconColorAfterToolbarCollapsedInImmersiveInterface = true;
|
||||||
darkTheme.name = "Material You Dark";
|
darkTheme.name = "Material You Dark";
|
||||||
|
|
||||||
amoledTheme.colorAccent = context.getColor(android.R.color.system_accent1_100);
|
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";
|
amoledTheme.name = "Material You Amoled";
|
||||||
|
|
||||||
redditDataRoomDatabase.customThemeDao().unsetLightTheme();
|
redditDataRoomDatabase.customThemeDao().unsetLightTheme();
|
||||||
|
Loading…
Reference in New Issue
Block a user