|
|
|
@ -7065,9 +7065,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
|
this.check_mx = prefs.getBoolean("check_mx", false);
|
|
|
|
|
this.check_blocklist = prefs.getBoolean("check_blocklist", false);
|
|
|
|
|
|
|
|
|
|
this.email_format = ("sender".equals(sort)
|
|
|
|
|
? MessageHelper.AddressFormat.EMAIL_NAME
|
|
|
|
|
: MessageHelper.getAddressFormat(context));
|
|
|
|
|
this.email_format = MessageHelper.getAddressFormat(context);
|
|
|
|
|
this.prefer_contact = prefs.getBoolean("prefer_contact", false);
|
|
|
|
|
this.only_contact = prefs.getBoolean("only_contact", false);
|
|
|
|
|
this.distinguish_contacts = prefs.getBoolean("distinguish_contacts", false);
|
|
|
|
@ -7737,9 +7735,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
|
void setSort(String sort) {
|
|
|
|
|
if (!sort.equals(this.sort)) {
|
|
|
|
|
this.sort = sort;
|
|
|
|
|
this.email_format = ("sender".equals(sort)
|
|
|
|
|
? MessageHelper.AddressFormat.EMAIL_NAME
|
|
|
|
|
: MessageHelper.getAddressFormat(context));
|
|
|
|
|
properties.refresh();
|
|
|
|
|
// Needed to redraw item decorators / add/remove size
|
|
|
|
|
}
|
|
|
|
|