mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Added option to display name or name/email address
This commit is contained in:
@@ -41,8 +41,8 @@ public class ContactInfo {
|
||||
return bitmap;
|
||||
}
|
||||
|
||||
String getDisplayName(boolean compact) {
|
||||
if (compact && displayName != null)
|
||||
String getDisplayName(boolean name_email) {
|
||||
if (!name_email && displayName != null)
|
||||
return displayName;
|
||||
else if (displayName == null)
|
||||
return (email == null ? "" : email);
|
||||
|
||||
Reference in New Issue
Block a user