1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-04 22:40:32 +00:00

Fixed Material You dark background color

This commit is contained in:
M66B 2024-12-31 07:43:57 +01:00
parent 27a45dcc92
commit 5ad675c5d3

View file

@ -663,8 +663,8 @@ public class FragmentDialogTheme extends FragmentDialogBase {
Integer color = null;
if (cards) {
if (you && (!dark || !black) && Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
if (beige)
if (you && !black && Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
if (!dark && beige)
color = ContextCompat.getColor(context, R.color.lightColorBackground_cards_beige);
else
color = ContextCompat.getColor(context, dark