|
|
@ -6857,7 +6857,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
this.check_blocklist = prefs.getBoolean("check_blocklist", false);
|
|
|
|
this.check_blocklist = prefs.getBoolean("check_blocklist", false);
|
|
|
|
|
|
|
|
|
|
|
|
this.email_format = ("sender".equals(sort)
|
|
|
|
this.email_format = ("sender".equals(sort)
|
|
|
|
? MessageHelper.AddressFormat.NAME_EMAIL
|
|
|
|
? MessageHelper.AddressFormat.EMAIL_ONLY
|
|
|
|
: MessageHelper.getAddressFormat(context));
|
|
|
|
: MessageHelper.getAddressFormat(context));
|
|
|
|
this.prefer_contact = prefs.getBoolean("prefer_contact", false);
|
|
|
|
this.prefer_contact = prefs.getBoolean("prefer_contact", false);
|
|
|
|
this.only_contact = prefs.getBoolean("only_contact", false);
|
|
|
|
this.only_contact = prefs.getBoolean("only_contact", false);
|
|
|
@ -7520,7 +7520,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
if (!sort.equals(this.sort)) {
|
|
|
|
if (!sort.equals(this.sort)) {
|
|
|
|
this.sort = sort;
|
|
|
|
this.sort = sort;
|
|
|
|
this.email_format = ("sender".equals(sort)
|
|
|
|
this.email_format = ("sender".equals(sort)
|
|
|
|
? MessageHelper.AddressFormat.NAME_EMAIL
|
|
|
|
? MessageHelper.AddressFormat.EMAIL_ONLY
|
|
|
|
: MessageHelper.getAddressFormat(context));
|
|
|
|
: MessageHelper.getAddressFormat(context));
|
|
|
|
properties.refresh();
|
|
|
|
properties.refresh();
|
|
|
|
// Needed to redraw item decorators / add/remove size
|
|
|
|
// Needed to redraw item decorators / add/remove size
|
|
|
|