1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 18:27:43 +00:00

Small fix

This commit is contained in:
M66B 2020-03-26 20:28:09 +01:00
parent 87408886a5
commit 41eb8994c1
2 changed files with 5 additions and 3 deletions

View file

@ -1327,7 +1327,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
cowner.recreate();
boolean show_addresses = !properties.getValue("addresses", message.id);
boolean show_addresses = properties.getValue("addresses", message.id);
boolean show_headers = properties.getValue("headers", message.id);
boolean hasFrom = (message.from != null && message.from.length > 0);

View file

@ -1415,8 +1415,10 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
public boolean getValue(String name, long id) {
if (values.containsKey(name))
return values.get(name).contains(id);
else if ("addresses".equals(name))
return !addresses;
else {
if ("addresses".equals(name))
return addresses;
}
return false;
}