mirror of https://github.com/M66B/FairEmail.git
Small fix
This commit is contained in:
parent
87408886a5
commit
41eb8994c1
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue