mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Theme: follow system by default
This commit is contained in:
@@ -356,7 +356,7 @@ public class HtmlHelper {
|
||||
|
||||
private static Document sanitize(Context context, Document parsed, boolean view, boolean show_images) {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
String theme = prefs.getString("theme", "light");
|
||||
String theme = prefs.getString("theme", "blue_orange_system");
|
||||
boolean text_color = (!view || (prefs.getBoolean("text_color", true) && !"black_and_white".equals(theme)));
|
||||
boolean text_size = (!view || prefs.getBoolean("text_size", true));
|
||||
boolean text_font = (!view || prefs.getBoolean("text_font", true));
|
||||
|
||||
Reference in New Issue
Block a user