Fixed You background

This commit is contained in:
M66B 2023-10-18 12:15:06 +02:00
parent 28de02e5ac
commit a348bc4d99
1 changed files with 1 additions and 1 deletions

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));