Fixed You background

pull/214/head
M66B 10 months ago
parent 28de02e5ac
commit a348bc4d99

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

Loading…
Cancel
Save