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

Fixed force light

This commit is contained in:
M66B 2021-09-26 10:08:34 +02:00
parent eb21661761
commit d321939c75

View file

@ -2269,8 +2269,11 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
properties.setValue("full_asked", message.id, true); properties.setValue("full_asked", message.id, true);
} }
boolean default_light = prefs.getBoolean("default_light", false); if (!properties.getValue("force_light_default", message.id)) {
properties.setValue("force_light", message.id, default_light); boolean default_light = prefs.getBoolean("default_light", false);
properties.setValue("force_light", message.id, default_light);
properties.setValue("force_light_default", message.id, true);
}
} }
private void bindBody(TupleMessageEx message, final boolean scroll) { private void bindBody(TupleMessageEx message, final boolean scroll) {