1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-04 06:20:26 +00:00

Fixed You background

This commit is contained in:
M66B 2023-10-18 12:15:06 +02:00
parent 28de02e5ac
commit a348bc4d99

View file

@ -631,7 +631,7 @@ public class FragmentDialogTheme extends FragmentDialogBase {
boolean you = theme.startsWith("you_");
if (cards) {
if (you && !black && Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE)
if (you && (!dark || !black) && Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE)
view.setBackgroundColor(ContextCompat.getColor(context, dark
? android.R.color.system_background_dark
: android.R.color.system_background_light));