1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-01 17:26:12 +00:00

Fixed background of black theme

This commit is contained in:
M66B 2024-05-30 21:32:41 +02:00
parent c23755c9f5
commit efb3b41c6d

View file

@ -647,7 +647,7 @@ public class FragmentDialogTheme extends FragmentDialogBase {
boolean tabular_card_bg = prefs.getBoolean("tabular_card_bg", false); boolean tabular_card_bg = prefs.getBoolean("tabular_card_bg", false);
String theme = prefs.getString("theme", "blue_orange_system"); String theme = prefs.getString("theme", "blue_orange_system");
boolean dark = Helper.isDarkTheme(context); boolean dark = Helper.isDarkTheme(context);
boolean black = ((!"black".equals(theme) && theme.endsWith("black")) || "black_and_white".equals(theme)); boolean black = (theme.endsWith("black") || "black_and_white".equals(theme));
boolean solarized = theme.startsWith("solarized"); boolean solarized = theme.startsWith("solarized");
boolean you = theme.startsWith("you_"); boolean you = theme.startsWith("you_");