pull/178/head
M66B 5 years ago
parent 87408886a5
commit 41eb8994c1

@ -1327,7 +1327,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
cowner.recreate(); 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 show_headers = properties.getValue("headers", message.id);
boolean hasFrom = (message.from != null && message.from.length > 0); 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) { public boolean getValue(String name, long id) {
if (values.containsKey(name)) if (values.containsKey(name))
return values.get(name).contains(id); return values.get(name).contains(id);
else if ("addresses".equals(name)) else {
return !addresses; if ("addresses".equals(name))
return addresses;
}
return false; return false;
} }

Loading…
Cancel
Save