mirror of
https://github.com/Docile-Alligator/Infinity-For-Reddit.git
synced 2026-02-28 15:25:40 +00:00
Fix status bar color when applying Material You.
This commit is contained in:
@ -88,7 +88,10 @@ public class MaterialYouUtils {
|
||||
lightTheme.tabLayoutWithExpandedCollapsingToolbarTabIndicator = colorPrimaryAppropriateTextColor;
|
||||
lightTheme.tabLayoutWithExpandedCollapsingToolbarTextColor = colorPrimaryAppropriateTextColor;
|
||||
lightTheme.circularProgressBarBackground = colorPrimaryInt;
|
||||
lightTheme.isLightStatusBar = getAppropriateTextColor(colorPrimaryInt) == Color.toArgb(Color.BLACK);
|
||||
lightTheme.isLightStatusBar = colorPrimaryAppropriateTextColor == Color.BLACK;
|
||||
lightTheme.isChangeStatusBarIconColorAfterToolbarCollapsedInImmersiveInterface =
|
||||
(lightTheme.isLightStatusBar && getAppropriateTextColor(cardViewBackgroundColor) == Color.WHITE)
|
||||
|| (!lightTheme.isLightStatusBar && getAppropriateTextColor(cardViewBackgroundColor) == Color.BLACK);
|
||||
lightTheme.name = "Material You";
|
||||
|
||||
darkTheme.colorAccent = colorPrimaryInt;
|
||||
|
||||
Reference in New Issue
Block a user