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:
parent
27a45dcc92
commit
5ad675c5d3
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue